Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 error in Identity insert

Author  Topic 

sqllearner
Aged Yak Warrior

639 Posts

Posted - 2004-08-17 : 22:34:38
Cannot insert explicit value for identity column in table 'tbl_emp_report_issues' when IDENTITY_INSERT is set to OFF.
The statement has been terminated.

I used the SET IDENTITY_INSERT tbl_emp_report_issues ON and still there is this error coming for the insert statement

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-08-17 : 22:57:33
How are you entering the data?
Go to Top of Page

sqllearner
Aged Yak Warrior

639 Posts

Posted - 2004-08-17 : 23:02:14
GOT it..thanks it was because there was a duplication in data for that particular datafield..thanks
Go to Top of Page
   

- Advertisement -