一些常用的sql写法 跨库查询 SELECT * FROM OPENDATASOURCE('SQLOLEDB','Data Source=local;User ID=sa;Password=sa').[DbName].[dbo].[DbTable]