0
valeur fractionnelle de timestamp MySQLComment supprimer valeur fractionnelle de timestamp MySQL
Tableau:
CREATE TABLE `note` (
`id` binary(16) NOT NULL',
`note` text,
`updated` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ',
PRIMARY KEY (`id`)
) ;
Requête:
SELECT UNIX_TIMESTAMP(updated) WHERE id = 1;
Résultat: 1.491.556.345,0002231 Somthing
Mais je veux seulement 1491556345, Comment supprimer la valeur fractionnaire.
Merci