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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: For You Sticky Developers out there.....

RE: For You Sticky Developers out there.....

From: Mohan, Ross <MohanR_at_STARS-SMI.com>
Date: Mon, 19 Mar 2001 13:02:17 -0800
Message-ID: <F001.002D0F13.20010319130100@fatcity.com>

<FONT face=Arial color=#0000ff
size=2>Thanks, Jimmy.
<FONT face=Arial color=#0000ff
size=2> 
<FONT face=Arial color=#0000ff
size=2>:-)

  <FONT face="Times New Roman"
  size=2>-----Original Message-----From: Jacques Kilchoer   [mailto:Jacques.Kilchoer_at_quest.com]Sent: Monday, March 19, 2001   2:16 PMTo: Multiple recipients of list ORACLE-LSubject:   RE: For You Sticky Developers out there.....
>-----Original Message----- <FONT

  size=2>>From: Mohan, Ross [<A
  href="mailto:MohanR_at_STARS-SMI.com">mailto:MohanR_at_STARS-SMI.com]
> > Jack, <FONT

  size=2>>yea, interesting....got the same >BUT
>i put a get_time call in a package/stored
  procedure >and got the problem again.   

  Jack?!? Here's a little piece of trivia for the day:   Jack is the english "shortened" version of John, which in   french is Jean. Jacques is the french version of   James, so if anything you should call me Jimmy. But I   prefer Jacques. :)
  I tried putting the function in a stored procedure in Oracle   7.3.4, 8.0.5, 8.1.6 and it was successful each time:   SQL> create table t (n number) ;
  Table created.
  SQL> create or replace procedure p as <FONT   size=2>  2     the_time number ; <FONT   size=2>  3  begin  
  4     the_time := dbms_utility.get_time ; <FONT

  size=2>  5     insert into t (n) <FONT 
  size=2>  6     values (the_time) ; <FONT 
  size=2>  7     commit ; <FONT 
  size=2>  8  end ;   9  / 
  

  Procedure created.
  SQL> execute p
  PL/SQL procedure successfully completed.   SQL> select * from t ;
           N

Received on Mon Mar 19 2001 - 15:02:17 CST

Original text of this message

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