Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Some way to list all constraints?
"(Pete Cresswell)" <x_at_y.z> wrote in message
news:vlj2309pgb6bnnme9g78dg34uqf3dhngpm_at_4ax.com...
> Maybe this is another one of those "System Table" things...to which I have
no
> access...
>
> I'm trying to clean out a DB so I can use it for testing a load routine
but keep
> getting hit with "Unable to delete because of...(whatever constraint).
In SQL
> Programmer I can view constraints on a table-by-table basis, but it seems
like
> there should be some way for me to just list them all along with the table
> involved in each so I can just refer to the list instead of trying to
guess the
> table.
>
You can try this :
SELECT CONSTRAINT_NAME FROM USER_CONSTRAINTS; You can also replace USER_ by ALL_
Vu Received on Tue Feb 17 2004 - 15:49:40 CST
![]() |
![]() |