Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Answer: How do I lock tables using DBI and mySQL?

by blakem (Monsignor)
on Sep 11, 2001 at 08:51 UTC ( #111667=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > How do I lock tables using DBI and mySQL? - Answer contributed by blakem

See the Lock Tables syntax in the MySQL documentation. Then wrap each sql query inside of something like:
$dbh->do(" ... ");

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-07-23 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (344 votes). Check out past polls.