Source Type 200 in SQL Server Import and Export Wizard?

后端 未结 8 786
南笙
南笙 2021-01-03 23:06

I am trying to import data from one database in a server to a new table in a different server, using SQL Server import and Export Wizard. (SQL Server Management Studio 2012)

8条回答
  •  隐瞒了意图╮
    2021-01-03 23:59

    I bet that text columns aren't able to be inserted into varchar columns with the wizard. Depending on how big the table is, you could export the source to csv via the SSMS and then import it. That should work but if you have multiple tables to import you could add a linked server. Then you can just qualify the old table or the new table like this:

    insert into [new_server].database.dbo.tablename
    select * from old_table
    

    I know SQL2000 is a pain for creating linked servers though which is what I'm guessing you are trying to export from since you have text columns.

提交回复
热议问题