robert_gsfame Posted March 16, 2011 Share Posted March 16, 2011 I just want to ask this simple thing..is that okay to create a column name date type=TEXT will it cause any problem in the future? thx in advance Quote Link to comment https://forums.phpfreaks.com/topic/230782-date-simple-question/ Share on other sites More sharing options...
bh Posted March 16, 2011 Share Posted March 16, 2011 Why TEXT type? Its unnecessary overhead when you filter your table. Why dont you use an INT type (use timestamp)? Quote Link to comment https://forums.phpfreaks.com/topic/230782-date-simple-question/#findComment-1188082 Share on other sites More sharing options...
fenway Posted March 17, 2011 Share Posted March 17, 2011 Or DATE? Quote Link to comment https://forums.phpfreaks.com/topic/230782-date-simple-question/#findComment-1188760 Share on other sites More sharing options...
The Little Guy Posted March 21, 2011 Share Posted March 21, 2011 Or DATE? or DATETIME (if you want the time as well) Quote Link to comment https://forums.phpfreaks.com/topic/230782-date-simple-question/#findComment-1190340 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.