Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return GUID key auto-generated in SQL Server
Message
De
20/06/2004 13:32:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
20/06/2004 13:15:13
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00915487
Message ID:
00915495
Vues:
11
>Michael
>
>Select @@identity

Doesn't work, returns null if you have an uniqueidentifier column but don't have an identity column. Try this:
create table dum (bz uniqueidentifier, c varchar(10))
insert into dum (c) values ('zz')
select @@identity
I'm getting a null returned (MSDE 2000).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform