|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I'm new. When creating a table with a datetime field, how do I have the default value load the current datetime?
|
|
#2
|
|||
|
|||
|
Are you using MySQL?
If so, just throw in the CURRENT() function when inserting data into the table...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Default field values... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|