Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
| Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 10th, 2004, 11:03 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default constraint for 1-to-n relation

how to write a trigger or constraint which enforces the requirement that all departments must have a single manager however a manager can manage several departments.

Thank you



Similar Threads
Thread Thread Starter Forum Replies Last Post
Relation update ajaidass ADO.NET 1 January 11th, 2007 01:25 PM
find relation in dataset with c# kobystud C# 2 April 21st, 2004 01:04 AM
SQL Relation Lucian Ion SQL Server 2000 3 October 25th, 2003 03:31 PM
how can i best implement a many to many relation? Haroldd Access 1 July 2nd, 2003 03:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.