Application Name + MSSQL

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
TrTw
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 26.12.2008, 10:40

Application Name + MSSQL

Post 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?
TrTw
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 26.12.2008, 10:40

Post by TrTw »

Solved.
ZConnection.Properties.Add('appname=...');
ZConnection.Properties.Add('workstation=...');
Post Reply