2011/11/25

TIMESTAMP Properties

Ref>
http://dev.mysql.com/doc/refman/5.1/en/timestamp.html

//

UPDATE 'table_name'
SET 'column_name'=current_time
WHERE 'column_name'=0000-00-00 00:00:00

import CSV

//phpMyAdmin - 2.10.3

>Import
>CSV

//default

Fields terminated by ;
Fields enclosed by "
Fields escaped by \
Lines terminated by auto
Column names


//
"49956";"";"";"";"";"";"";"";"2011-11-22";"31.35";"32.00";"30.05";"30.05";"1635000";"30.05";"";"";"";"";"";""
"4956";"";"";"";"";"";"";"";"2011-11-21";"34.60";"34.60";"32.30";"32.30";"1488000";"32.30";"";"";"";"";"";""

//
1234;;;;;;;;2011-11-23;32.55;32.70;31.70;31.75;11375000;31.75;;;;;;
2234;;;;;;;;2011-11-23;32.55;32.70;31.70;31.75;11375000;31.75;;;;;;
3234;;;;;;;;2011-11-23;32.55;32.70;31.70;31.75;11375000;31.75;;;;;;
4234;;;;;;;;2011-11-23;32.55;32.70;31.70;31.75;11375000;31.75;;;;;;