DBCC WITH TABLERESULTS;
torsten.strauss
Posts: 271 Silver 3
in SQL Prompt
Hi Redgate Team,
the following command will become invalid by formatting the code by adding AS.
DBCC PAGE(TransactionLog,2,0,3) WITH TABLERESULTS;
GO
--after formatting
DBCC PAGE(TransactionLog,2,0,3) WITH AS TABLERESULTS;
GO
This seems to be true for all DBCC commands with the option WITH TABLERESULTS.
This will cause SQL prompt and the code to fail.
Would be good to see a fix in the next release - thanks!
Torsten
the following command will become invalid by formatting the code by adding AS.
DBCC PAGE(TransactionLog,2,0,3) WITH TABLERESULTS;
GO
--after formatting
DBCC PAGE(TransactionLog,2,0,3) WITH AS TABLERESULTS;
GO
This seems to be true for all DBCC commands with the option WITH TABLERESULTS.
This will cause SQL prompt and the code to fail.
Would be good to see a fix in the next release - thanks!
Torsten
Tagged:
Comments
becomes after formatting.
At least for me it is working now but there is a space missing before WITH...
It worked for the version before but not for 8.2.5.2924.
So it is still a bug.