Are you thinking of SET SHOWPLAN_TEXT ON
?
↧
Answer by Martin Smith for what is the procedure in SQL server to not execute anything(T SQL commands) but outputs the commands it would execute
↧
Are you thinking of SET SHOWPLAN_TEXT ON
?