MySQL Forums
Forum List  »  Newbie

Re: search comma separated db column
Posted by: Peter Brawley
Date: April 25, 2008 01:37PM

A string is a defined atomic type for which SELECT is designed to work. Likewise an int, a date, &c. Declaring a string column does not express the "same reasoning" as storing a comma-separated list of ints in a column.

If we are discussing a database, we are discussing how it is designed. If we are discussing how it is designed, we are discussing its defined types. Atomicity is a rule of database design (EF Codd wrote proofs, not heuristics). If our databases are to perform correctly, our users had better hope we had good reasons to break the rules of database design.

PB

Options: ReplyQuote


Subject
Written By
Posted
Re: search comma separated db column
April 25, 2008 01:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.