microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
334 stars 58 forks source link

Add functional tests for sqlcmd (verify all types of public and SAS URLs work well in --using) #306

Open apoorvdeshmukh opened 1 year ago

apoorvdeshmukh commented 1 year ago

As a follow up to #299 we should add functional tests for scenarios such as verifying that all types of public and SAS URLs work well for specifying .bak files

apoorvdeshmukh commented 1 year ago

Follow up item based on comment: Change getDbNameAsIdentifier to something more generic which is encoding the SQL statements and then move these helper functions to internal.