Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get scope_identity for a remote insert
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
How to get scope_identity for a remote insert
Divers
Thread ID:
01322722
Message ID:
01322722
Vues:
47
can you tell me why my Scope_identity for a remote inser is a null?
how can I fix this?
insert into RemoteServer.MyDB.dbo.Customers(....) values(....)
print 'SCOPE_IDENTITY()=' + convert(char,isnull(SCOPE_IDENTITY(),0))
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform