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: How to find constraints of a table using SQL

Re: How to find constraints of a table using SQL

From: Pinto <ucanmailme_at_india.com>
Date: Sat, 24 Feb 2001 11:33:31 +0530
Message-ID: <977ivm$7iq$1@news.mch.sbs.de>

select * from user_constraints where table_name=<table_name>

Pinto

Zhou, Xiaodong wrote in message <977gjd$8a0$1_at_nntp.itservices.ubc.ca>...
>Hi, there:
>
>I want to see the constraints(foreign key, primary key, etc.) of a table.
 I
>don't know how to do it in SQL. Will you please give me some advice?
>Thanks in advance!
>
>Yours xdzhou
>
>
Received on Sat Feb 24 2001 - 00:03:31 CST

Original text of this message

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