![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have set the IDENTITY_INSERT on a table to ON. To test this, I tried to set it on another table and got the message that it was already on the table I want. But every time I try to insert records, it keeps telling me the IDENTITY_INSERT is off!!! |
|
Anyone know why? Thanks. Matthew Wells Matthew.Wells (AT) FirstByte (DOT) net |
#3
| |||
| |||
|
|
"Matthew Wells" <Matthew.Wells (AT) FirstByte (DOT) net> wrote in message news:BKudndSpqbutUbLanZ2dnUVZ_tijnZ2d (AT) comcast (DOT) com... Hello, I have set the IDENTITY_INSERT on a table to ON. To test this, I tried to set it on another table and got the message that it was already on the table I want. But every time I try to insert records, it keeps telling me the IDENTITY_INSERT is off!!! You can only enable IDENTITY_INSERT on one table at a time. Sounds like you're trying to do it on two tables at once. Anyone know why? Thanks. Matthew Wells Matthew.Wells (AT) FirstByte (DOT) net -- Greg Moore SQL Server DBA Consulting Remote and Onsite available! Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html |
#4
| |||
| |||
|
|
I have set the IDENTITY_INSERT on a table to ON. To test this, I tried to set it on another table and got the message that it was already on the table I want. But every time I try to insert records, it keeps telling me the IDENTITY_INSERT is off!!! Anyone know why? |
![]() |
| Thread Tools | |
| Display Modes | |
| |