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: default values for column

Re: default values for column

From: Thomas Kellerer <TAAXADSCBIXW_at_spammotel.com>
Date: Sat, 13 Jan 2007 11:36:53 +0100
Message-ID: <50rr25F1h5543U1@mid.individual.net>


Bruintje Beer wrote on 13.01.2007 11:27:
> Hi,
>
> I want to get the default values for table columns using occi. How can I do
> that. I think I have to read the meta data but can not find out what
> attribute I need to get the default value for colns. Can somebody point me
> to an url or give me an example how to that in occi en c++

SELECT column_name, data_default
FROM all_tab_columns
WHERE owner = 'ME'
AND table_name 'THE_TABLE'

More details at:
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_part.htm#i125539 Received on Sat Jan 13 2007 - 04:36:53 CST

Original text of this message

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