SQL Management Studio - Execute current line
Posted
by mawaldne
on Stack Overflow
See other posts from Stack Overflow
or by mawaldne
Published on 2010-04-16T20:31:34Z
Indexed on
2010/04/16
20:43 UTC
Read the original article
Hit count: 397
sql-server-management-stu
In SQL Server 2008 Management studio, I can hit F5 to execute everything in the current query window. I can also highlight a query, and hit F5 to run that highlighted query.
Instead of having to highlight a query, is there a way I can run the single query my cursor is on, or run a query my cursor is on up to a the first ';'?
© Stack Overflow or respective owner