Re: [GENERAL] Checking Multiplicity Constraints and Retrieving Data from Error Messages

2005-10-20 Thread Martijn van Oosterhout
On Thu, Oct 20, 2005 at 12:44:53PM +0100, Ledina Hido wrote: > I am not sure if CHECK constraints will work, as I don't think you > can reference another table in one of those. And I think it might > even not let you have a subquery (ie a select inside the check > statement). So I don't know

Re: [GENERAL] Checking Multiplicity Constraints and Retrieving Data from Error Messages

2005-10-20 Thread Ledina Hido
On 20 Oct 2005, at 12:31, Martijn van Oosterhout wrote: On Wed, Oct 19, 2005 at 03:25:25PM +0100, Ledina Hido wrote: First of all, is there any way of limiting the number of rows in a table, referencing to the same element of another table? For example, force a manager not to have more than 10

Re: [GENERAL] Checking Multiplicity Constraints and Retrieving Data from Error Messages

2005-10-20 Thread Martijn van Oosterhout
On Wed, Oct 19, 2005 at 03:25:25PM +0100, Ledina Hido wrote: > First of all, is there any way of limiting the number of rows in a > table, referencing to the same element of another table? For example, > force a manager not to have more than 10 employees under his control. > In a way this can

[GENERAL] Checking Multiplicity Constraints and Retrieving Data from Error Messages

2005-10-20 Thread Ledina Hido
As part of my 4th Year Group Design Project, I am required to build a database system that will validate and then store the data. As such I am currently investigating different DB, to choose the most suitable one. I liked many features of PostgreSQL (eg deferring transactions) but there are