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: Where can I see the 'default' value on a column?

Re: Where can I see the 'default' value on a column?

From: Dennis M. Heisler <dheisler_at_binghamton.edu>
Date: Tue, 22 Aug 2000 15:55:59 -0400
Message-Id: <10597.115290@fatcity.com>


It's in the data_default column in dba_tab_columns.

Guang Mei wrote:

> Hi,
>
> A quick question. If I do
>
> create table t1 (col1 varchar2(20) default '12345' );
>
> How can I query the database to see that there is a default value '12345' on
> t1.col1? I looked at "user_constraints" and could not find it.
>
> Thanks.
>
> Guang
>
> --------
> If you're bored, then visit the list's website: http://www.lazydba.com (updated daily)
> to unsubscribe, send a blank email to oracledba-unsubscribe_at_quickdoc.co.uk
> to subscribe send a blank email to oracledba-subscribe_at_quickdoc.co.uk
Received on Tue Aug 22 2000 - 14:55:59 CDT

Original text of this message

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