| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Help with my perl scripts of dropping index
I am posting this message to this group because a lot of DBAs are good perl programmers as well. We have a perl scripts, part of it is drop index as follows
my $sql = qq{ drop index index_1};
$dbh->do ( $sql );
if ( $dbh->state == 0 )
{
print "index_1 dropped\n";
$failure = 0;
}
else
{
$failure = 1;
print "error dropping index_1= $dbh->errstr and error value
$dbh->state\n";
}
Could some body help me to improve my script to make sure it will not exit while loop until the the index_1 is dropped for sure?
Thanks Received on Fri Jun 15 2001 - 05:32:32 CDT
![]() |
![]() |