1
我已經在SQL Server 2008傳遞SQL參數OPENQUERY的查詢
Select * from
(Select T.Col1, T.Col2
from openquery('server','select * from table 1 where date= '+ @StartDate +') R
凡@StartDate
是參數下面的SQL查詢。我收到錯誤的語法'+'期待'''''''''''''