in reply to Sybase process view
Perl isn't relevant to this.
The data is in the program_name column of master..sysprocesses, which is indexed by spid, and the spid of the executing process is in @@spid IIRC. Take a look at how sp_who works, and add the column to the relevant query. You can get the text with:
use sybsystemprocs sp_helptext sp_who
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sybase process view
by ccn (Vicar) on Aug 07, 2004 at 09:28 UTC |