Page 1 of 1

Application Name + MSSQL

Posted: 26.12.2008, 10:50
by TrTw
I had been using BDE with MSSQL some time ago. I would like to send to MSSQL Server some information about client (application name, host name [client name]) for master.sysprocesses table. In BDE I used TDatabase.Params -> APPLICATION NAME, HOST NAME. How can I send this information via ZConnection?

Posted: 26.12.2008, 11:35
by TrTw
Solved.
ZConnection.Properties.Add('appname=...');
ZConnection.Properties.Add('workstation=...');