$sth = $dbh->prepare("LOCK TABLES tablename WRITE"); unless ($sth->execute()) { die $dbh->errstr() } #sql queries here $sth = $dbh->prepare("UNLOCK TABLES"); unless ($sth->execute()) { die $dbh->errstr() }
In reply to Re: LOCK TABLES using Perl in MySQL
by greywolf
in thread LOCK TABLES using Perl in MySQL
by sdyates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |