in reply to Re: Report Application Name to Enterprise Manager via DBI
in thread Report Application Name to Enterprise Manager via DBI

Howdy!

IIRC, that is something you can set when you connect to the server.

It's been a while since I did Sybase, so check your manuals... :)

yours,
Michael
  • Comment on Re^2: Report Application Name to Enterprise Manager via DBI

Replies are listed 'Best First'.
Re^3: Report Application Name to Enterprise Manager via DBI
by Grygonos (Chaplain) on Jun 09, 2004 at 19:57 UTC
    I found this in the ODBC API Doc,

    APP - Name of the application calling SQLDriverConnect (optional). If specified, this value is stored in the master.dbo.sysprocesses column program_name and is returned by sp_who and the Transact-SQL APP_NAME function.

    Passing app as part of \%attr does nothing and passing APP produces and error. Any ideas anyone?