In SSMS hitting F5 executes the entire script. If the script contains several statements, all will be executed.
To execute one statement from the script I have to first select the statement and then hit F5.
Is it possible to add a new feature to execute only the current statement (according the cursor).
Example:
--[SqlQuery1.sql]
select * from ACTION_LOG
select
*
from
ACTION_LOG
where
ACTION_KINE = 'CMD1'
select top 10 * from ACTION_LOG
If I press Ctrl+E (the shortcut for [ExecuteCurrentStatement]) and the cursor is at line 4, the second statement should be executed (lines [3..8])
Thanks in advance.