| Author |
MySQL Date field , how to assign current date as default value ?
|
raminaa niilian
Ranch Hand
Joined: Jul 14, 2005
Posts: 550
|
|
Hi Thank you for reading my post i want to ask how i can assign current date as a default value of a filed when i create the table ? i am using mysql. thanks
|
 |
karthikeyan Chockalingam
Ranch Hand
Joined: Sep 06, 2003
Posts: 259
|
|
Hope this helps you You may use insert stmt like and created_dt column is assigned the current date time ...Is it what you want?
|
http://www.skillassert.com
|
 |
 |
|
|
subject: MySQL Date field , how to assign current date as default value ?
|
|
|