How about the need to add prices together, or store binary data, or using a bit for true false...
There are numerous reasons for datatypes in a database. HTH, Clint -----Original Message----- From: Dale [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:43 PM To: [EMAIL PROTECTED] Subject: [PHP] SQL SERVER QUESTION I am still new to web programming. I have a question regarding sql databases. Since variables in php don't require a type, why is it so important that you specify a type for each of the colomons in your tables in your sql database. It seems to me that you could potentially make everything chars and it wouldn't make a difference. The only real benefit is that I have seen that by making a column of type date, it allows you to easily compare dates. I don't see the benefit of making a colomon of type money though? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php