<?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>IT log &#187; mssql</title>
	<atom:link href="http://zuolo.info/tag/mssql/feed/" rel="self" type="application/rss+xml" />
	<link>http://zuolo.info</link>
	<description>If we say that we have no sin, we deceive ourselves, and the truth is not in us.</description>
	<lastBuildDate>Thu, 09 Sep 2010 11:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>import chinese data into mysql from mssql</title>
		<link>http://zuolo.info/2009/05/import-data-into-mysql-from-mssql/</link>
		<comments>http://zuolo.info/2009/05/import-data-into-mysql-from-mssql/#comments</comments>
		<pubDate>Fri, 08 May 2009 09:43:48 +0000</pubDate>
		<dc:creator>Leon Tsang</dc:creator>
				<category><![CDATA[Live - Work and Struggle]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://blog.mottoes.org/?p=915</guid>
		<description><![CDATA[从网上知道了可以使用 mysqldump, 但在我的vista 下连 mysql shell 都无法进入, 所以这种方法忽略, 但用过MySQL Query Browser 和 MySQLAdmin 我都可以执行 sql 语句, 所以我的方法是: 1. 把 mssql( ms sqlserver 2000 )中的数据导出为 csv; 2. 把 csv 用 notepad++ 从 ansi 转码为 utf-8; 3. 在mySQLQueryBrowser 中运行下面指令; use plc; truncate table `sys_i18n`; LOAD DATA LOCAL INFILE &#8216;d:/dd.csv&#8217; INTO TABLE `sys_i18n` CHARACTER SET utf8 FIELDS TERMINATED [...]]]></description>
			<content:encoded><![CDATA[<p>从网上知道了可以使用 mysqldump, 但在我的vista 下连 mysql shell 都无法进入, 所以这种方法忽略, 但用过MySQL Query Browser 和 MySQLAdmin 我都可以执行 sql 语句, 所以我的方法是:</p>
<p>1. 把 mssql( ms sqlserver 2000 )中的数据导出为 csv;</p>
<p>2. 把 csv 用 notepad++ 从 ansi 转码为 utf-8;</p>
<p>3. 在mySQLQueryBrowser 中运行下面指令;</p>
<p><span style="color: #99cc00;">use plc;<br />
truncate table `sys_i18n`;<br />
LOAD DATA LOCAL INFILE &#8216;d:/dd.csv&#8217; INTO TABLE `sys_i18n` <span style="color: #ff0000;">CHARACTER SET utf8</span> FIELDS TERMINATED BY &#8216;,&#8217; ENCLOSED BY &#8216;&#8221;&#8216; LINES TERMINATED BY &#8216;\r\n&#8217;;<br />
select * from `sys_i18n`;</span></p>
<p>ps: plc数据库默认编码也都是设置的 utf8 .</p>
<a href="http://zuolo.info/2009/05/import-data-into-mysql-from-mssql/#comments" title="to the comments">To the comments</a>, Author: <a href="http://zuolo.info" >Leon Tsang</a>
<br />
If we say that we have no sin, we deceive ourselves, and the truth is not in us. <1 John 1:8>
<br />
<hr /><small>Copyright &copy; 2006-2010 <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Attribution-Noncommercial-Share Alike 3.0 Unported</a><br /> 
This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. <br />
(Digital Fingerprint: 5f393dfa8cc2aecf3e2c7170441553ad)</small><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://zuolo.info/2009/06/i-cannot-find-any-free-sql-documentation-tool/" title="i cannot find any free sql documentation tool">i cannot find any free sql documentation tool</a></li><li><a href="http://zuolo.info/2009/05/mysql-50-to-mysql-51/" title="mysql 5.0 to mysql 5.1">mysql 5.0 to mysql 5.1</a></li><li><a href="http://zuolo.info/2009/05/hmailserver-error-and-mysql-study-log/" title="hmailserver error and mysql study log">hmailserver error and mysql study log</a></li><li><a href="http://zuolo.info/2009/05/centos-setup-tip/" title="centos setup: miscellaneous tip 1">centos setup: miscellaneous tip 1</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://zuolo.info/2009/05/import-data-into-mysql-from-mssql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
