adoconnection - How to set Application Name property of a TADOConnection in Delphi? -


i have delphi app connects ms sql server using tadoconnection.
need set "application name" property of tadoconnection (so seen on db select distinct program_name sys.sysprocesses query).

tadoconnection not have applicationname property. instead internally assigns application executable name (which can seen query above).

how set "application name" property of tadoconnection connection ms sql database?

"application name" property (and others) can set so:

adoconnection1.properties['application name'].value := 'myappname'; 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -