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 -> Re: to avoid errors while dropping not existing objects

Re: to avoid errors while dropping not existing objects

From: <erich.keane_at_verizon.net>
Date: 10 Oct 2006 07:49:13 -0700
Message-ID: <1160491753.642401.144310@i3g2000cwc.googlegroups.com>


Your best bet in this case is to query the system tables. Check out the User_Tables table.

So, Select count(*) from User_Tables where Table_Name = '<Your TableName>'

Note that Your TableName is case sensitive. If the result is greater than 0, it exists, else it does not

Documentation:
http://www.eveandersson.com/writing/data-model-reverse-engineering Received on Tue Oct 10 2006 - 09:49:13 CDT

Original text of this message

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