in reply to (OT) Am I weasel or just right?
If I were to write code that extracts values from a database, I'd try it to make it as robust as possible. I would do input validation, and I would probably die (or otherwise warn) if the input is incorrect. And then I would complain by the person responsible for the database. Because while my program deals with the illegal value gracefully, another program may not.
But then again, '' might be an acceptable value; as I said, I don't know what the columns represent.
Abigail
|
|---|