Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote views, Tableupdate and identity keys
Message
De
19/06/2011 23:39:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Divers
Thread ID:
01515107
Message ID:
01515124
Vues:
60
We're using SELECT @@IDENTITY right after the statement, but we use this only on the tables that don't have triggers. I don't like this solution much, but I don't see a better alternative. IDENT_CURRENT has its own problems.


Out of curiosity (and maybe you answered this in another message and I missed it)....why aren't you using SCOPE_IDENTITY?

Most of the environments I've been in, IDENT_CURRENT would not have been practical at all, for the reasons you stated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform