in reply to Writing NULL values to a MySQL record via DBI
A bit "off topic", but having NULL values in your database is generally a bad idea. NULL should indicate an error (which you do not want to have in your database, so it should never happen), not simply "missing data, but that is OK because it is unimportant anyhow".
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Writing NULL values to a MySQL record via DBI
by ureco (Acolyte) on Feb 27, 2015 at 16:48 UTC |