I'm debugging this code in Visual Studio:
INSERT INTO @transactions
SELECT FirstDate
FROM #coo
During debug, before this query is executed, I want to see what the result of the select statement will be.
I added a watch for SELECT FirstDate FROM #coo
but it says
could not be evaluated
How can I see the result of the select statement before the result is inserted into @transactions
?