Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NET and @@identity
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00666202
Message ID:
00666412
Vues:
23
Yes, I've tried both with dbnull as the result each time.
ds=sqlData.runsql("ident_current('dealer')","dealer") does work.

Do you understand why?

>Did you try
ds=sqlData.runsql("select @@identity","dealer")
>ds=sqlData.runsql("select scope_identity()","dealer")
>
>
>>I don't know what you mean by commandtype is text. Do you see from my info here that I am using commandtype text? If so, ident_current('dealer') is working for me though @@identity and scope_identity are not.
>>
>< snip >
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform