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: Thanks, but... [2]

Re: Thanks, but... [2]

From: Sybrand Bakker <gooiditweg_at_sybrandb.verwijderdit.demon.nl>
Date: Fri, 28 Jan 2005 23:32:01 +0100
Message-ID: <77flv0hqsjbkov0bpa8itlkssp2udbngt7@4ax.com>


On Fri, 28 Jan 2005 18:33:52 +0100, "Piotr B." <piotrb_at_nie.spamuj.mnie> wrote:

>Unfortunately, my problem remains unsolved. I want to write some
>application to export database schema from Oracle, and I don't
>see an easy way to distinguish "real", user-added check constraints
>(like "GENDER IN ('M', 'F')") from automatically generated and
>redundant "column IS NOT NULL" constraints for every non-null column.

The constraints are not redundant.
Also the constraint name will always start with SYS_C You also shouldn't 'write some application' as Oracle comes with a export in any version
b dbms_metadata in 9i and higher

Looks like you would better concentrate on getting familiar with Oracle, than reinventing the wheel.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Jan 28 2005 - 16:32:01 CST

Original text of this message

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