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 -> Inserting constant value...

Inserting constant value...

From: <tiluki_at_my-deja.com>
Date: Wed, 09 Feb 2000 17:02:42 GMT
Message-ID: <87s6jg$joh$1@nnrp1.deja.com>


Anyone know if/how to get round this...


CREATE OR REPLACE PACKAGE foo IS

   ...
   c_bar CONSTANT NUMBER := 1;
   ...
END;

INSERT INTO icarenot (val) VALUES (foo.c_bar);


I know and have tried all the varients of 'EXPR' (short of creating access methods in the package to the constants).

Thanks in advance,

T.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Feb 09 2000 - 11:02:42 CST

Original text of this message

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