Re: Regarding Database Design
Date: Mon, 11 May 2009 16:10:34 +1000
> I've with me a proposed database design which is not normalized
> For ex:- We have a table called user_groups which links the users
> and the groups table. But now we are thinking to eliminate this table
> and have a group_ids column storing comma separated values of groups
> ids from the groups table instead.
> The records will look like -
> group_id group_name
> 1 Admin
> 2 Operator
> 3 Power User
> user_id user_name group_ids
> 1 User1 1,3
> 2 User2 2,3
> The targeted database will be a typical OLTP system. Please suggest
> if this approach to database design has any fundamental flaws.
How do you intend to enforce referential integrity?
GM Received on Mon May 11 2009 - 01:10:34 CDT