I'm running a trace using the SQL Server Profiler. The trace data contains the following lines:
WHERE CAST(LEFT(pc.Time_stamp,11) AS DATETIME >= ##
AND CAST(LEFT(pc.Time_stamp, 11) AS DATETIME) <= ##
What does the ## mean
profilersql server
I'm running a trace using the SQL Server Profiler. The trace data contains the following lines:
WHERE CAST(LEFT(pc.Time_stamp,11) AS DATETIME >= ##
AND CAST(LEFT(pc.Time_stamp, 11) AS DATETIME) <= ##
What does the ## mean
Best Answer
First, if you're using SQL Server 2008 or higher, the Profiler is deprecated - look into using Extended Events instead.
The
##
marks serve as a placeholder for the value of the variables being used in the query.