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 -> Q: 8i java sample function would not compile ?

Q: 8i java sample function would not compile ?

From: <tedchyn_at_yahoo.com>
Date: Wed, 29 Dec 1999 14:51:19 GMT
Message-ID: <84d6kg$r7c$1@nnrp1.deja.com>


Sir, following helloword java function from 8i documentation would not compile in sqlplus:

1>create or replace function HELLOWORLD return varchar2 as
2>language java name 'Hello.world() return java.lang.string';
3>myString varchar2;
4>call HELLOWORLD() into :myString;
5>print myString;


LINE/COL ERROR

-------- --------------------------------------------
3/1      PLS-00103: Encountered the symbol "MYSTRING"
any clues
thanx
Ted Chyn

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Dec 29 1999 - 08:51:19 CST

Original text of this message

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