Quote:
|
Originally Posted by dotolee
Thanks.
It worked.... but I was always under the impression that it's best to keep all fields in the db (except pks) as text... and then let the application decide how to use the information.
??
any comments on that theory?
|
Yes - but they are too rude to print
You have been misinformed: it is always best to use the
most appropriate data type for each column in the table, so that the application is forced to use it
correctly.
I hope you are not similarly under the false impression that primary keys, unique keys, foreign keys and check constraints are all to be avoided and that the application should decide what is a duplicate, what is an invalid reference, etc. etc.?