If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > how to maintain database concurrence?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-17-04, 07:43
bhawin13 bhawin13 is offline
Registered User
 
Join Date: Apr 2004
Location: india
Posts: 12
how to maintain database concurrence?

My application uses sql for performing operation. something like conncetion.execute(query). so there is only conncetion object no recordset object or something like that.

NOTE: for this issue [connection object = database hendler]

i want to run multiple instence of my application so i want to maintain integrety of data. and i am looking for solution through sql for locking mechanism. so concurrent data access dont currept data.

So how can i maintain concurrency.
[HINT:] some locking mechanism should be used how to use that lock that i dont know.

I hope you have uderstand my requirement.
Waiting for reply.
Reply With Quote
  #2 (permalink)  
Old 04-17-04, 08:02
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
i notice this exact same question in half a dozen forums

please don't do that, that's called cross-posting, and it is not polite

besides, why would you post this question in any other forums except the one for the database system you're using

are you using mysql?

i didn't think so
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 04-17-04, 13:03
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
As Rudy pointed out, cross posting is both rude and probably not very effective, since many times the answer may take the context into consideration and give you the best answer based on where your question is posted. If you look at my answer the SQL Server forum, it references a Microsoft web page. In this case, the advice is sound, but the reference may be of little value if you aren't using Microsoft products.

-PatP
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On