Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get New ID
Message
De
04/05/2000 13:57:19
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Get New ID
Divers
Thread ID:
00366228
Message ID:
00366228
Vues:
47
Hi everyone!

I am looking for ability to get New ID which will be automatically assigned to my identity setup field, before I insert record.
basically I need to attach this field to some expression and build it into INSERT command, to provide it to another field.

For example

cStroka = _
"INSERT INTO mOpt (objectname) VALUES ("& MakePrefix() & [new id] &")"
objCommand.CommandText =cStroka
objCommand.Execute
XO4Y BCE 3HATb,YMETb,IMETb!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform