|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MySQL 5 - Setup for a TABLE Field then records automatically the date or date/time, the record
exist any data type in php/mysql/phpmyadmin that if setup for a TABLE Field then records automatically the date or date/time, the record inserted (or the TIMESTAMP) ? Or this needs manual coding ?
|
|
#2
|
|||
|
|||
|
if you use a datetime data type you can set the default value to the function getdate() that would record the date the record was inserted. Other than that you would have to use a trigger which would probably be much more complicated than needed. Also I don't even know if mysql even has triggers or if they do, what triggers do they support. I've been using mssql server for a while now.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > MySQL 5 - Setup for a TABLE Field then records automatically the date or date/time, the record |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|