Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

primary key of a synonym in Oracle

inDiscoverAug 30 2013 — edited Aug 30 2013

Can any one know how can I describe a table to get the table structure and the relationships. Relationships in the sense which column is used as primary key or foreign key in a particular table.

Desc table provides only column details. I executed below query but it gives only followings.

desc award_reason

Name            Null     Type        

--------------- -------- ------------

AWARD_REASON_ID NOT NULL NUMBER(11)  

REASON_TYP      NOT NULL VARCHAR2(35)

SORT_ORDR       NOT NULL NUMBER(2)   

ACTIVE          NOT NULL NUMBER(1)

Here 'award_reason' is a synonym.

Can any one help me on this please.

This post has been answered by Karthick2003 on Aug 30 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2013
Added on Aug 30 2013
1 comment
631 views