 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
B.r.K.o.N.j.A. Guest
|
Posted: Tue Jan 13, 2004 2:34 pm Post subject: Lock tables |
|
|
Which is preffered way to lock one or two tables for read/write (When I'm
writing invoice through SQL INSERT statement(s) I want to prohibit other
users to do the same until I'm finished), is SQL LOCK TABLES good way of
achieving this
LOCK TABLES mytable1, mytable2 READ WRITE
...
...
mycode
...
...
UNLOCK TABLES
?
Thanks
Brkonja
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|