0
SELECT "2 0 Analytical (Testing Phase)"
FROM "dbo"."Lab Occurrence Form"
WHERE (("Occurrence Date" BETWEEN @P1 AND @P2)
AND ("2 0 Analytical (Testing Phase)" LIKE ''%2.%'')) ', N'@P1 datetime,@P2 datetime','2010-04-30 00:00:00','2010-04-01 00:00:00'
這是正確的格式來返回某個日期時間之間的記錄?sql server:這個日期時間會工作嗎?
看起來像'EXEC' /'EXEC sp_executesql',但不太完整...... – 2010-10-21 18:25:05