Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Record lock

Status
Not open for further replies.

Hind

Programmer
Jan 25, 2002
2
US
Hi,

I need to select a record from a table on an oracle database, manipulate it and update it to the database. But after executing my select statement i want to lock that record so that nobody can read it or write to it until i finish my update.i'm using ADO.
Does anybody know what the best way to do this?
Thank you

Hind
 
I don't know anything about ADO -- but....

If you can run an sql statement through ADO then try this

Select [column_list] For Update
From

Where [where_clause] [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top