BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lock tables

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
B.r.K.o.N.j.A.
Guest





PostPosted: Tue Jan 13, 2004 2:34 pm    Post subject: Lock tables Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.