A voir également:
- Could not connect to mysql! please check your database settings!
- Check disk - Guide
- Smarters player lite could not connect to server ✓ - Forum TV & Vidéo
- Qwerty to azerty - Guide
- I'm sorry to have to inform you that your message could not be delivered to one or more recipients. it's attached below. ✓ - Forum Mail
- Input signal out of range change settings to 1600x900-60hz - Forum Windows
3 réponses
Voilà un extrait sur le champ TIMESTAMP, on peut lui assigner une valeur d'auto-update. Extrait ci-dessous :
For one TIMESTAMP column in a table, you can assign the current timestamp as the default value and the auto-update value. It is possible to have the current timestamp be the default value for initializing the column, for the auto-update value, or both. It is not possible to have the current timestamp be the default value for one column and the auto-update value for another column.
Source : http://dev.mysql.com/doc/refman/5.0/en/timestamp.html
For one TIMESTAMP column in a table, you can assign the current timestamp as the default value and the auto-update value. It is possible to have the current timestamp be the default value for initializing the column, for the auto-update value, or both. It is not possible to have the current timestamp be the default value for one column and the auto-update value for another column.
Source : http://dev.mysql.com/doc/refman/5.0/en/timestamp.html
afrodje
Messages postés
759
Date d'inscription
mardi 13 mars 2007
Statut
Membre
Dernière intervention
22 janvier 2014
168
7 févr. 2009 à 14:09
7 févr. 2009 à 14:09
Regarde du coté des triggers -> http://dev.mysql.com/doc/refman/5.0/fr/create-trigger.html
Alain_42
Messages postés
5361
Date d'inscription
dimanche 3 février 2008
Statut
Membre
Dernière intervention
13 février 2017
894
6 nov. 2011 à 14:42
6 nov. 2011 à 14:42
dans ta requette d'insertion tu mets
INSERT INTO ...........DATEINSER=NOW().....
INSERT INTO ...........DATEINSER=NOW().....
12 mars 2014 à 15:17