<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Load Delimited Data (csv, excel) into MySQL Server</title>
	<atom:link href="http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/</link>
	<description>kedar.nitty-witty.com</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:55:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kedar</title>
		<link>http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/comment-page-1/#comment-347</link>
		<dc:creator>Kedar</dc:creator>
		<pubDate>Tue, 06 Jul 2010 05:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://kedar.nitty-witty.com/blog/?p=440#comment-347</guid>
		<description>Hi mcheali!
I&#039;m not sure in what format you have your date stored in csv.
If you have csv as: 
#x.csv
1,2010-05-21
2,2010-05-22
3,2010-05-20

#table x:
CREATE TABLE `x` (
  `a` int(10) NOT NULL,
  `b` date default NULL
) ENGINE=MyISAM;

then a very simple load data query will fill the date values correctly.

#Query:
LOAD DATA INFILE &quot;c:/x.txt&quot; INTO TABLE x
 FIELDS TERMINATED BY &#039;,&#039; LINES TERMINATED BY &#039;\n&#039;;</description>
		<content:encoded><![CDATA[<p>Hi mcheali!<br />
I&#8217;m not sure in what format you have your date stored in csv.<br />
If you have csv as:<br />
#x.csv<br />
1,2010-05-21<br />
2,2010-05-22<br />
3,2010-05-20</p>
<p>#table x:<br />
CREATE TABLE `x` (<br />
  `a` int(10) NOT NULL,<br />
  `b` date default NULL<br />
) ENGINE=MyISAM;</p>
<p>then a very simple load data query will fill the date values correctly.</p>
<p>#Query:<br />
LOAD DATA INFILE &#8220;c:/x.txt&#8221; INTO TABLE x<br />
 FIELDS TERMINATED BY &#8216;,&#8217; LINES TERMINATED BY &#8216;\n&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcheali</title>
		<link>http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/comment-page-1/#comment-345</link>
		<dc:creator>mcheali</dc:creator>
		<pubDate>Mon, 05 Jul 2010 04:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://kedar.nitty-witty.com/blog/?p=440#comment-345</guid>
		<description>how can i convert date from excel csv to date in mysql. 
i have to put column in mysql as VARCHAR so then it can read from csv. but if i change to DATE it read as 00-00-0000.
any idea?</description>
		<content:encoded><![CDATA[<p>how can i convert date from excel csv to date in mysql.<br />
i have to put column in mysql as VARCHAR so then it can read from csv. but if i change to DATE it read as 00-00-0000.<br />
any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shantanu Oak</title>
		<link>http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/comment-page-1/#comment-309</link>
		<dc:creator>Shantanu Oak</dc:creator>
		<pubDate>Thu, 10 Jun 2010 14:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://kedar.nitty-witty.com/blog/?p=440#comment-309</guid>
		<description>Great article!
There is a third party utility to do the same.

http://www.sqldbu.com/eng/sections/tips/normalize.html</description>
		<content:encoded><![CDATA[<p>Great article!<br />
There is a third party utility to do the same.</p>
<p><a href="http://www.sqldbu.com/eng/sections/tips/normalize.html" rel="nofollow">http://www.sqldbu.com/eng/sections/tips/normalize.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kedar</title>
		<link>http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/comment-page-1/#comment-272</link>
		<dc:creator>Kedar</dc:creator>
		<pubDate>Mon, 24 May 2010 09:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://kedar.nitty-witty.com/blog/?p=440#comment-272</guid>
		<description>Hi paul,

Good to hear your successful try. 
You can of-course go through other topics if you already haven&#039;t.</description>
		<content:encoded><![CDATA[<p>Hi paul,</p>
<p>Good to hear your successful try.<br />
You can of-course go through other topics if you already haven&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paulmcj</title>
		<link>http://kedar.nitty-witty.com/blog/load-delimited-data-csv-excel-into-mysql-server/comment-page-1/#comment-269</link>
		<dc:creator>paulmcj</dc:creator>
		<pubDate>Tue, 18 May 2010 07:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://kedar.nitty-witty.com/blog/?p=440#comment-269</guid>
		<description>Just tried it on my site. Works flawlessly. Thanks a bunch!</description>
		<content:encoded><![CDATA[<p>Just tried it on my site. Works flawlessly. Thanks a bunch!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
