Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie Trigger question

Re: Newbie Trigger question

From: Dean Mah <dmah_at_acs.ucalgary.ca>
Date: Wed, 20 May 1998 11:47:04 -0600
Message-ID: <6jv50e$pb6@ds2.acs.ucalgary.ca>


Posted and mailed....

Clifford Buetikofer wrote:

> select OSuser from v$session into local_user; {where the local_user is
> a declared varchar2}
> but the SQL keeps choking when I try to create the trigger.

Try using SELECT OSuser INTO local_user FROM v$session;

> The second question is how can I format sysdate to include the time ?

SELECT to_char(sysdate, 'DD-MON-YYYY:HH:MI:SS') FROM dual;

Dean Received on Wed May 20 1998 - 12:47:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US