Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert values from all fields except for one
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00762778
Message ID:
00762799
Vues:
12
>If you are trying to keep the identity column in the new table in tact then you can't bulk copy but you can do an insert select. ex.
>
>INSERT INTO newdatabase..newtable(AllColumnsExceptIdentity FROM SELECT AllColumnsExceptIdentity FROM ..)

I see. Being lazy I hoped to avoid writting all the fields. I can probably try to generate an Insert procedure then and modify it accordingly.

Thanks a lot.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform