Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select ..FOR UPDATE is to Oracle as _____ is to SQLServe
Message
De
16/02/1999 09:03:55
 
 
À
16/02/1999 08:20:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00187943
Message ID:
00187991
Vues:
30
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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform