Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking with SQL7
Message
De
01/03/2000 09:15:29
 
 
À
29/02/2000 11:49:23
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00338970
Message ID:
00339723
Vues:
15
Let me add one improvement:
CREATE PROCEDURE GETID 
  @tbl  char(10)
AS
set nocount on
declare @TempId int
UPDATE NumberTable SET 
  @TempID = id_value,
  id_value = id_value + 1
WHERE tablename = @tbl
SELECT @tempid
-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform