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:
00762814
Vues:
13
>>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.
In the auto-generated Create table script why the case for field names is not preserved and all fields are in lower case? Does it matter?
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