Improve "Execute current statement"
The current statement is not executed when it is commented out.
If i have the following query and attempt to execute it, SSMS says "Command(s) completed successfully.". The query is not actually executed.
-- select * from table1
1
vote
anonymous
shared this idea
-
Tony Phan commented
Very bad idea, how will we overcome what we really don't want to run? Want to run a commented query, delete the -- run it then add it right back.