先开启 exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distributed Queries',1 reconfigure 然后调用 INSERT INTO SoyErpBasicData.dbo.Base_Datadictionary ( Type , Code , Name , SeqNO , State , Notes , ParentID , IsLeaf_YN , Co…