Mancunian1@aol.com wrote:
: I have a trigger which calls a stored procedure, inserting a row into
: a table. ( online 7.1, Tools 6.0, Unix V )
: Can I get the stored procedure to find out who the current user is in Unix,
: in order to write this to one of the columns in the row I'm inserting?
I beliver that USER built-in function will do the job, eg.:
insert into mytable(col1, col2, col_who) values (1, 2, user);
Mariusz