>What are the benefits on using a CHAR field versus VARCHAR?
>

Well, using char can be a bit speedier when querying, but takes up more disk 
space. You want to use char when all the data in that field will be close to 
the same length. the db will pad it, so it ends up taking up more space than if 
you used varchar and it set the length to the exact length of the data. 

I just converted some varchars to char as a small optimization to an app. 

Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293906
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to