You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @TimelordUK ,
I'm using the Microsoft's driver node-sqlserver for connecting to Azure SQL Database from lower versions of Node. But to connect from newer versions of Node.js I was trying to use this module. How can I set the Application Name to identify that the connection request coming from node-sqlserver-v8?
The text was updated successfully, but these errors were encountered:
SaloniSonpal
changed the title
Application Name
How to set Application Name for the connection requests initiated?
Sep 14, 2016
Got it, @TimelordUK . It will have to be specified by user, and hence it won't be standardized. What are your thoughts on changing the default value for the driver? That way users can easily filter on that app name to distinguish it.
can you not try something that creates an app from say the username
var app = 'sqlv8-' + process.env.USERNAME;
var driver = '.......; APP=' + app;
there is no reason you have to use the example given it was just for illustration. Simply use any suitable value that is probably dependent on a user of your system like login.
Hi @TimelordUK ,
I'm using the Microsoft's driver node-sqlserver for connecting to Azure SQL Database from lower versions of Node. But to connect from newer versions of Node.js I was trying to use this module. How can I set the Application Name to identify that the connection request coming from node-sqlserver-v8?
The text was updated successfully, but these errors were encountered: