Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Management Studio - execute just one query, not whole script? [duplicate]

This has surely been asked before, sorry. But in SQL Server Management Studio v17.4, if you just hit F5, it executes the whole script.

How can you make it execute just the current line/statement? Otherwise I have to highlight the whole thing. I do this so many times a day it gets tiring.

Thanks!

like image 656
Chuck Avatar asked Sep 14 '25 22:09

Chuck


1 Answers

Highlighting the entire query you want to execute is the only way.

like image 59
Tab Alleman Avatar answered Sep 16 '25 12:09

Tab Alleman