>Should you have a flag for the status "movement complete" ? I would say
>yes but instead of a simple checkbox, you could store a date value. That
>gives you two pieces of information
>
>a) if the date is null then the movement is not complete.
>b) if the date is NOT null then the movement is complete and you know when
>it finished.

There, Shawn and I disagree :-)

In case of a very simple database, one could use NULL
as a "flag" or "signal". But in general, I would avoid
storing NULLs.

Basics of database design: store what you know.

Given that NULLs basically means the absence of a value
(eg: unknown), you shouldn't be storing NULLs.

Martijn Tonies
Database Workbench - development tool for MySQL, and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to