Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Use SQL to get constraints
Here's a script (attached zip file) from some of my old archives. I've
not used these for at least a couple of years, but I think I was on v7.3
when I wrote them. This one is for grants, and I have a bundle of them
I used to create scripts to recreate all the parts and pieces of a v7
database.
Greg
<code_1_at_my-deja.com> wrote in message news:8fi1q5$1df$1_at_nnrp1.deja.com...
> 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.
begin 666 Db_cns.zip
<encoded_portion_removed>
Received on Sat May 13 2000 - 00:00:00 CDT