microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.56k stars 898 forks source link

SQLCMD mode button in query does not appear #19744

Closed bootrider closed 2 years ago

bootrider commented 2 years ago

Steps to Reproduce:

  1. Create a connection
  2. over the connection, right click -new Query
  3. the button does not appear.

Looking for solution I found that this functionality was added in september 2019: https://cloudblogs.microsoft.com/sqlserver/2019/09/10/the-september-release-of-azure-data-studio-is-now-available/

Does this issue occur when all extensions are disabled?: Yes

Charles-Gagnon commented 2 years ago

Do you have preview features enabled? Settings -> Workbench: Enable Preview Features

image

That is required to use SQLCMD mode currently.

kburtram commented 2 years ago

Closing based on previous comment. Please let us know if the above doesn't work for you.

bootrider commented 2 years ago

It works!!! thanks