Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Use SQL to get constraints
take a look at the dba views
dba_tables. dba_constraints. dba_triggers.
and alternative quick and dirty approach if you have an export file is to run imp show and pipe the output to a text file.
-- Niall Litchfield Oracle DBA Audit Commission UK <code_1_at_my-deja.com> wrote in message news:8fi1q5$1df$1_at_nnrp1.deja.com...Received on Mon May 15 2000 - 00:00:00 CDT
> I am using Oracle for Windows 95 (Release 7.3.4),
> SQL Plus 3.3 and a test database. I would like to
> get table definitions and constraints using SQL.
> I tried the sp_helpconstraint system stored
> procedure, but it doesn't work. It is not
> recognized as valid. I would like to get the data
> types, constraints, defaults, rules, and triggers
> of any table, using SQL.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
![]() |
![]() |