Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 24th, 2004, 01:31 PM
bulsona bulsona is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 16 bulsona User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 31 sec
Reputation Power: 0
checking participation constraint

I wanted to know how can I check participation constraint for a one to man relationship in oracle.

Suppose an employee works in a department.
There can be many employees working in a department.
For a department, there has to be atleast one employee.


i cannot write -
foreign key (dept) references employee.

Then it wil be one to one relationship.

Secondly I cannot write assertions or domains in ORACLE.

Can somebody please tell me what is the procedure followed for checking this constraint?

Reply With Quote
  #2  
Old November 28th, 2004, 07:43 PM
jimbag8 jimbag8 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 28 jimbag8 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
desdc user_constraints and user_cons_columns...it will all be in there. if you have privs check dba_constraints as well.

~jimbag8

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > checking participation constraint


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT