Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select ..FOR UPDATE is to Oracle as _____ is to SQLServe
Message
From
16/02/1999 09:03:55
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00187943
Message ID:
00187991
Views:
28
thanks....For that info.

I'll try it out.

Here's what I want to do.
I have a function CSRLOCK()
The idea of it is that it performs operations identical to RLOCK() in vfp.
RLOCK() only NOT RLOCK() with parameters....

I need to Lock indivdual records (or maybe groups of records (in a grid))
and deterimine if they are in use. On Oracle and SQLServer.

It's not so hard. Because I have a Cursor with the primary key in
matching the pk on the sqlserver or oracle server.

ALthough I haven't done it yet. My idea is that when the edit button is pressed.
I issue the commands we are talking about where the PK is the one in the cursor.

SO really all I need is what you have given me.

Your warning scares me a bit.
Does this mean if I do the select as you described on specific PK.
That all other records previous to it will also be locked.
I only want to lock the 1 record.

I am very tired so I hope i am making sense....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform