Hello @Roz Zamboni ,
Welcome to Microsoft Q&A forum.
As I know, you need a database to debug your SQL code, for example LocalDB. You might not be able to debug SQL code outside of a database.
Normally, you can select whether to deploy your project or not, by checking or unchecking the "Deploy" option in "Configuration Manager" in Visual Studio, but I think "Deploy" option is not for database related projects.
Have a nice day.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.