Subject | Re: How can I get field constraints like Oracle All_Constraints view ... |
---|---|
Author | cicerobillo |
Post date | 2005-10-04T22:38:28Z |
Hi Ivan!
See below structure of some Oracle views:
All_Constraints
---------------
OWNER
CONSTRAINT_NAME
CONSTRAINT_TYPE (P=PK, R=FK, C=Constraint)
TABLE_NAME
SEARCH_CONDITION (Constraints)
R_OWNER (Owner PK)
R_CONSTRAINT_NAME (Table PK)
-------------------------------------------------
All_Cons_Columns
________________
OWNER
CONSTRAINT_NAME
TABLE_NAME
COLUMN_NAME
POSITION (PK & FK)
-------------------------------------------------
COLS
____
OWNER
TABLE_NAME
FIELD_NAME
FIELD_NUMBER
FIELD_TYPE
WIDTH
SCALE
PRECISION
NULLS
DEFAULT_VALUE
--------------------------------------------------
Cicero
See below structure of some Oracle views:
All_Constraints
---------------
OWNER
CONSTRAINT_NAME
CONSTRAINT_TYPE (P=PK, R=FK, C=Constraint)
TABLE_NAME
SEARCH_CONDITION (Constraints)
R_OWNER (Owner PK)
R_CONSTRAINT_NAME (Table PK)
-------------------------------------------------
All_Cons_Columns
________________
OWNER
CONSTRAINT_NAME
TABLE_NAME
COLUMN_NAME
POSITION (PK & FK)
-------------------------------------------------
COLS
____
OWNER
TABLE_NAME
FIELD_NAME
FIELD_NUMBER
FIELD_TYPE
WIDTH
SCALE
PRECISION
NULLS
DEFAULT_VALUE
--------------------------------------------------
Cicero
--- In firebird-support@yahoogroups.com, Ivan Cruz <ivan@a...> wrote:
> cicerobillo wrote:
>
> >This is ok, but what about Check Constraints?
> >
> >TIA
> >
> >Cicero
> >
> >
> >
> >
> I'm not a Oracle user so, what I get in a All_Constraints view
> and in a Users_Constraints view?
>
> Ivan.