摘要:
CREATE TABLE #Temp([Name] NVARCHAR(200),[Count] NVARCHAR(200))INSERT INTO #TempEXEC LinkedServer.[DBName].[dbo].[SP_Name] @para1,@para2 阅读全文
摘要:
Only table-valued functions can be used in the FROM clause. 解决办法: If it's a scalar function, use this: SELECT * FROM OPENQUERY(LinkedServer, 'SELECT [ 阅读全文