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: Need to determine if a column exists or not

Re: Need to determine if a column exists or not

From: Tim Cross <tcross_at_nospam.une.edu.au>
Date: 18 Oct 2002 08:52:37 +1000
Message-ID: <87bs5s65l6.fsf@blind-bat.une.edu.au>


"news.integraonline.com" <aanderson_at_lillysoftware.com> writes:

> I am in a situation where I need to determine is a column exists in a
> database or not.
>
> Does anyone know a way to do this.
>
>

Have a look at the all_tab_columns view. You can do a select on this view to determine if a table in a specific schema has a specific column.

e.g. desc all_tab_columns

Tim Received on Thu Oct 17 2002 - 17:52:37 CDT

Original text of this message

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