Q

Constraints on user tables

How to get information about constraints posed on user tables?

How to get information about constraints posed on user tables? I know we can use user_tables, user_constraints. But I am unable to get the result. Please help in querying metadata about user table level constraints.
USER_TABLES will show you which tables you have in your schema. USER_CONSTRAINTS will show you all of the constraints on all of the tables in your schema. Constraints typically work on one or more columns. The USER_CONS_COLUMNS will show you the columns of each constraint.
This was last published in December 2006

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close