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

Home -> Community -> Usenet -> c.d.o.misc -> Re: PLSQL: how to test if a table exists?

Re: PLSQL: how to test if a table exists?

From: NoName <nobody_at_nowhere.com>
Date: Thu, 4 Dec 2003 14:58:58 +0100
Message-ID: <bqndt4$29b$1@fata.cs.interbusiness.it>


Thanks to everybody.
Using your suggestions, I produced the following code:

declare

   c numeric;
begin

   select count(*) into c from user_tables where table_name = 'TABLEXY';    if c > 0 THEN

Hope this could help other newbies :-)
Regards Received on Thu Dec 04 2003 - 07:58:58 CST

Original text of this message

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