wallaceoc80
Programmer
I have created a table in SQL Server and I want to import data from a MS Access database.
The table I have created has the following columns:
AppID, AppName, AppMnem, GripsID, Decommissioned, Last Modified, Modified By
Decommissioned is a boolean value in the MS Access table and is a int value in the SQL Server table.
However, my problem is, is that I have AppID set as the primary key and it is also set as an identity column that is to increment by 1 every time a record is created.
However, when I run the query to import the data from the Access table I try to leave the AppID field blank so that a value is auto generated. However, I get the following error:
Error at destination for row number 1. Errors encountered so far in this task: 1.
Instert error, column 1 ('AppID', DBTYPE_I4), status 10: Integrity violation; attempt to insert null data or data which violates constraints.
Unspecified Error
Any ideas what the problem is?
Regards,
Wallace
The table I have created has the following columns:
AppID, AppName, AppMnem, GripsID, Decommissioned, Last Modified, Modified By
Decommissioned is a boolean value in the MS Access table and is a int value in the SQL Server table.
However, my problem is, is that I have AppID set as the primary key and it is also set as an identity column that is to increment by 1 every time a record is created.
However, when I run the query to import the data from the Access table I try to leave the AppID field blank so that a value is auto generated. However, I get the following error:
Error at destination for row number 1. Errors encountered so far in this task: 1.
Instert error, column 1 ('AppID', DBTYPE_I4), status 10: Integrity violation; attempt to insert null data or data which violates constraints.
Unspecified Error
Any ideas what the problem is?
Regards,
Wallace