Created
March 7, 2009 02:29
-
-
Save elidickinson/75187 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load data local infile 'c:/fierce/fwe_opens.csv' ignore into table opens fields | |
TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' | |
lines terminated by '\n' | |
(email,@check_time,@last_open,total_opens) | |
set mlid = 102866, | |
check_time = from_unixtime(@check_time), | |
last_open = if(@last_open<=0,NULL,date(from_unixtime(@last_open))) | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment