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: Password-generator (sys.v_$timer)

Re: Password-generator (sys.v_$timer)

From: Michel Cadot <micadot{at}altern{dot}org>
Date: Mon, 16 May 2005 13:04:32 +0200
Message-ID: <42887df6$0$23030$626a14ce@news.free.fr>

<benster_at_tjockhult.se> a écrit dans le message de news:1116239082.525670.260370_at_o13g2000cwo.googlegroups.com...
| Hi!
|
| I am currently developing a password-generating-function in Oracle.
|
| I am trying to use the SQL:
| "SELECT lower(chr(substr(TO_CHAR(hsecs) / 8640000,22,3))) FROM
| SYS.v_$timer;"
|
| This works OK when I run the SQL in Toad, but when I try to put the
| result in a variable and use the SQL in my function the function
| doesn't get properly compiled...
| ("SELECT lower(chr(substr(TO_CHAR(hsecs) / 8640000,22,3))) INTO SLUMPEN
| FROM SYS.v_$timer;")
|
| When I try to recompile the function it says "Identifier 'SYS.V_$TIMER'
| must be declared.
|
| Hmm..ideas on how to solve this one?
|
|
| Best regards
|
| /Ben
|

roles are not enabled in PL/SQL.

Regards
Michel Cadot Received on Mon May 16 2005 - 06:04:32 CDT

Original text of this message

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