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
323 stars 56 forks source link

Enable user to override the default application name sqlcmd puts in the connection string #199

Open stuartpa opened 1 year ago

stuartpa commented 1 year ago

This is related to the other issue on application_name. Where we are looking to set application name to "sqlcmd", but this request go further and asks that the application name may be overriden by the user.

shueybubbles commented 1 year ago

I can see enabling this to be set in pkg\sqlcmd for applications but what benefit would there be for an end-user to set the app name? We would lose our own tracking of the usage, unless we prepend "SQLCMD-" to whatever name the user provides.

eshmurus commented 11 months ago

@grrlgeek is there any hope that this will be implemented?