Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert values from all fields except for one
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00762778
Message ID:
00762799
Views:
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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform