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: Default values

Re: Default values

From: Stephan Schaefer <stephan.schaefer_at_camline.com>
Date: 1998/03/17
Message-ID: <350E62DA.845EDF10@camline.com>#1/1

Haresh Assumal wrote:

> How do I find out what default values are set for a table? I can use
> the
> DESCRIBE command to find the columns in the table but how do I fund
> the
> default (if any)????

Haresh,

try:
select
  table_name,
  column_name,
  data_default
from
  user_tab_columns
where
  data_default is not null
;

Stephan Schaefer
stesch_at_camline.com Received on Tue Mar 17 1998 - 00:00:00 CST

Original text of this message

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