on 09-15-2015 1:58 PM
Hi Experts,
I have a issue regarding SET IDENTITY_INSERT is set to off .
My scenario is file to JDBC and at JDBC(Microsoft SQL Database) communication channel i got below error.
The above error "Cannot insert explicit value for identity column in table 'Materials' when IDENTITY_INSERT is set to OFF."
Regards,
Narasaiah T
I don't think turning off is the only(valid) solution here. I'm not sure of the design but may be your table "Materials" can be updated by multiple sources and hence the IDENTITY was turned on for a perticular coloumn.
Simple solution is to to find out that column and do not send any value into it from PI(remove the mapping for that field)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nurse,
please contact DB team and let them know the issue and ask them to change the IDENTITY_INSERT value to ON for Identity column.
Please go through the below links:
http://scn.sap.com/thread/3383909
SQL Server Identity column - Enterprise Information Management - SCN Wiki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.