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: Trigger to insert random number into Oracle 10g table

Re: Trigger to insert random number into Oracle 10g table

From: <swethasivaram_at_gmail.com>
Date: 5 Oct 2006 03:19:39 -0700
Message-ID: <1160043579.192214.225880@e3g2000cwe.googlegroups.com>


The 'AND' in the fourth line of the script was a mistake... I removed it but it still gives me the same error.

swethasiva..._at_gmail.com wrote:
> Martin T. wrote:
> > What IS the compile time error you get?
>
> PL-SQL: ORA-00904:: invalid identifier
>
>
> >
> > Also, why not try:
> > :New.RandNumber := TO_NUMBER(SUBSTR(dbms_crypto.randominteger, 2, 8));
>
> This gives me another error:
> PLS-00201: identifier 'DBMS_CRYPTO' must be declared
Received on Thu Oct 05 2006 - 05:19:39 CDT

Original text of this message

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