The value violated the integrity constraints for the column

前端 未结 8 1384
情深已故
情深已故 2020-12-03 06:49

I am trying to import the data from Excel file into SQL Server database. I am unable to do so because I am getting following errors in the log file. Please help. The log err

8条回答
  •  -上瘾入骨i
    2020-12-03 07:10

    the point can be if you are not using valid login for linked server. Problem is on destination server side.

    There are few steps to try:

    1. Align db user and login on destination server: alter user [DBUSER_of_linkedserverlogin] with login = [linkedserverlogin]

    2. recreate login on destination server used by linked server.

    3. Backup table and recreate it.

    2nd resolved my issue with "The value violated the integrity constraints for the column.".

提交回复
热议问题