假设我想使用如下
代码:
select 'Response Status Code','Client Response Status Code'
from TC_Sessions (NOLOCK)
WHERE StartDate BETWEEN '05-15-2012' AND '06-01-2012'
AND SupplyID = 3367
如何在sql Server中执行此操作?
谢谢!
select [Response Status Code],[Client Response Status Code]
from TC_Sessions (NOLOCK)
WHERE StartDate BETWEEN '05-15-2012' AND '06-01-2012'
AND SupplyID = 3367
将名称括在方括号中.
但是,如果可能,最好避免在名称空间.它只是为你创造更多的工作在路上…
原文链接:https://www.f2er.com/mssql/81541.html