how to view the constraints on the table like the indexes created etc in sql.Its urgent ..
view constraints on table
Collapse
X
-
Hi,
Most tools like TOAD and PL/SQL Developer make it able for you to see it in the interface under the table.
Pilgrim.Comment
-
-
For Indixes:
[code=oracle]
select * from user_indexes WHERE table_name=''
[/code]
For Constraints:
[code=oracle]
select * from user_constraint s WHERE table_name=''
[/code]Comment
-
Comment
-
-
SQL> select * from all_constraints where table_name='dep artments';
no rows selected
I tried to view the constraints in the built-in schema @amitpatel66Comment
Comment