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.51k stars 883 forks source link

TSQL sqlcmd variable name validation #12204

Open kisantia opened 3 years ago

kisantia commented 3 years ago

check if the name is a reserved keyword or invalid tsql

Benjin commented 1 year ago

@kisantia what's an example of a reserved keyword or invalid TSQL that might be entered in the SQLCMD var UI in the extension? For reserved keywords, do you mean everything in this table, or are there more?

kisantia commented 1 year ago

I don't remember what I had in mind for this when I created this. That table seems like a good list to check against!