标签:style blog io sp 数据 2014 on log ad
step 1:sp_configure ‘show advanced options‘, 1; RECONFIGURE; sp_configure ‘Ad Hoc Distributed Queries‘, 1; RECONFIGURE; GO
insert into table_name columns SELECT columns FROM OPENROWSET(‘SQLNCLI‘, ‘Server=XXXX,1433;uid=XXXX;pwd=XXXX;Database=cb_name;‘,‘SELECT * FROM table_name‘)
标签:style blog io sp 数据 2014 on log ad
原文地址:http://blog.csdn.net/lan_liang/article/details/40300401