terryds Posted August 2, 2013 Share Posted August 2, 2013 i can't set my postdate column to DEFAULT CURDATE();Can you tell me how to do that? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 2, 2013 Share Posted August 2, 2013 Check the answers here, possible solutions vary based on your version of MySQL: http://stackoverflow.com/questions/168736/how-do-you-set-a-default-value-for-a-mysql-datetime-column You didn't specify, but I assume you're using MySQL. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now