AccessSQLUser
Programmer
I am appending data from an Access table to an empty SQLServer table. The field names and datatypes are all the same. The primary key field is an autonumber. When I try to append the data, including the autonumber field, I get an error that it couldn't append the records because of key violations. I understand that this doesn't work because it's an autonumber field. But then I figured that I would append the records without the autonumber field and it would automatically assign it an auto number. But I got an error:
ODBC--insert on a linked table 'dbo_ScheduleOfService' failed.
[Microsoft][ODBC SQL Server Driver]Fractional truncation (#0) [Microsoft][ODBC SQL Server Driver][SQL Server]Explicit value must be specified for identity column in table 'ScheduleOfService' when IDENTITY_INSERT is set to ON. (#545)
ODBC--insert on a linked table 'dbo_ScheduleOfService' failed.
[Microsoft][ODBC SQL Server Driver]Fractional truncation (#0) [Microsoft][ODBC SQL Server Driver][SQL Server]Explicit value must be specified for identity column in table 'ScheduleOfService' when IDENTITY_INSERT is set to ON. (#545)