不同数据库的表迁移SqlServer
程序员文章站
2022-10-25 10:28:46
INSERT INTO table SELECT * FROM OPENDATASOURCE ('SQLOLEDB', 'Data Source=172.168.44.146;User ID=sa;password=123' ).tableexec sp_configure 'show advanc ......
insert into table select * from opendatasource ('sqloledb', 'data source=172.168.44.146;user id=sa;password=123' ).table
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'ad hoc distributed queries',1
reconfigure