Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You can change the data type of the column and problem solved... Unless they exist invalid date values.. Then you will need to create a script to handle them and correct them.
I've done this quite a lot with big data sets without proper data types or consistency in their data, it could be quite annoying, but once solved, it's worth it! Good luck :) -
jelmervdl19yI'm not convinced yet whether a string is worse or .. not worse than individual INT columns for day, month, year, hour, second, etc..
Related Rants
I'm working with DATES today. Who puts a date in the db as a STRING!
undefined
sql
date