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: non existing tables in packages

RE: non existing tables in packages

From: Foelz.Frank <Foelz.Frank_at_Scheidt-Bachmann.de>
Date: Tue, 13 Sep 2005 09:30:46 +0200
Message-ID: <184C07CA956B59418F925AACD4DF4CDE0429A418@mail-server.iiv.scheidt-bachmann.de>


Stephane,

certainly nothing that makes coding easier ;-)

> Frank <

-----Original Message-----
From: Stephane Faroult [mailto:sfaroult_at_roughsea.com] Subject: Re: non existing tables in packages

Frank,

   If you code the table name in the package, it will simply not compile. The only thing you can do IMHO is to use dynamic SQL and trap ORA-00942. HTH, Stephane Faroult

RoughSea Ltd
http://www.roughsea.com

Foelz.Frank wrote:

>Gentlemen,
>
>any idea, how to handle situations in a package when a table which is
>expected in subroutines is not present ? Is there any error handling
>available, which I am not aware of ?
>
>I would like to have the same package on each of our systems installed,
>even if certain tables are not present due to different software
>releases.
>
>Running on Oracle 9.2.n
>
>
>
>>Frank <
>>
>>
>--
>http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Sep 13 2005 - 02:33:16 CDT

Original text of this message

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