In Visual Studio 2019, when i create a new sql query file, i can see a toolbar inside the tab like this:
With SQL Server Data Tools i have created a new SQL Server Database Project with .sql files of stored procedure and functions where this toolbar is missing. I can run the query only by the right click menu.
Is there any setting to show this toolbar on every opened .sql file?
Adding execute and server connection to the top of the SQLQuery You can change the properties in: Solutions Explorer. Right Click .SQL file Click Properties Build Action change it to None close and reopen the query window.