Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Can we set the primary key for item_master within the Oracle forums, part of the Databases category; If any body now plz ans me it's urgent One user name store and another user name ramesh in same database, I have table name Item_master in Store user where ...
|
|||||||
| Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks. |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
Can we set the primary key for item_master
If any body now plz ans me it's urgent
One user name store and another user name ramesh in same database, I have table name Item_master in Store user where as child table in ramesh user, Can we set the primary key for in two diffrent user, item_master in store user and child table for frogein key in ramesh user? If yes How? Last edited by yusuf_sagari; 05-07-2007 at 06:50 AM. |
| Sponsored Links |
|
|||
|
Re: Can we set the primary key for item_master
i think u r asking whether we can create the primary key on the table and make it foreign for other.
if this is case then yes u can make easily. alter table table1 add constraint constraint_name primary_key(columkn_name); alter table table1 add constarint constraint_name foreign_key(col_name) referenced by table2; pls check once syntax reeta |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|