Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lock row
Message
De
20/03/2004 12:34:49
 
 
À
20/03/2004 11:14:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Divers
Thread ID:
00888209
Message ID:
00888223
Vues:
12
... @myValue INT OUTPUT -- this is the output parameter
-- next operation is atomic
UPDATE dbo.myTable SET column1=column1+1,@myValue=column1+1 WHERE selectTheRow
But, if it is a id, then you can do the operation with a identity and @@IDENTITY.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform