on 2011 Oct 21 3:44 PM
When connecting to Sybase ASE there are connection parameters 'Host' (the machine name of the client) and 'AppName' (the name of the client application). Then while the application is connected, the entry in the sysprocesses table shows those values.
I would like to do the same thing for SQL Anywhere if it is possible. If it is possible, would the values appear in the same columns of sysprocesses?
My application is written in PowerBuilder.
SQLAnywhere doesn't have a sysprocesses but the application info you are looking for can be acquired via a different mechanism. See http://dcx.sybase.com/index.html#1201/en/dbadmin/appinfo-connection-conparm.html*d5e18109.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The HOST parameter may be picked up by the data provider. For the Application Name, you can specify this using the AppInfo connection parameter:
APPINFO='MyApplication'
The value can be viewed as part of:
SELECT CONNECTION_PROPERTY('AppInfo'[,connection_id]);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.