02-25-2012, 07:27 PM
Thanks Load. I ended up working out a way to do it.
Problem was i had many users with invalid DOB and it was throwing a small error.
So i just make them all the same DOB lols.
Using the below query.
UPDATE user
SET birthday = '' , birthday='1970-01-01'
WHERE birthday = '--'
Yea for some reason the birthday column had -- as the DOB instead of 0000-00-00 which is default if none is chosen i believe.
Problem was i had many users with invalid DOB and it was throwing a small error.
So i just make them all the same DOB lols.
Using the below query.
UPDATE user
SET birthday = '' , birthday='1970-01-01'
WHERE birthday = '--'
Yea for some reason the birthday column had -- as the DOB instead of 0000-00-00 which is default if none is chosen i believe.