<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Collation, DateTime, SParse Column and XML</title><link>http://blogs.msdn.com/qingsongyao/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Query on Float DataType may return inconsistent result</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/11/14/float-datatype-is-evil.aspx</link><pubDate>Sat, 14 Nov 2009 19:27:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922514</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>19</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9922514.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9922514</wfw:commentRss><description>Let us try following T-SQL script on SQL Server: declare @a float =300000000000000000000000000000000000 select @a + 50 -@a select @a -@a +50 go Guess what is the result? the first is 0 . and the second result is 50 . Floating point data is approximate;...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/11/14/float-datatype-is-evil.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922514" width="1" height="1"&gt;</description></item><item><title>Tertiary Collation and the performance impact on order clause</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/11/14/tertiary-collation-and-the-performance-impact-on-order-clause.aspx</link><pubDate>Sat, 14 Nov 2009 19:04:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922510</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9922510.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9922510</wfw:commentRss><description>Today, One customer asked about collation SQL_Latin1_General_CP1_CI_AI with non unique nonclustered index we are getting a sort on the query plan. The sample script is: CREATE TABLE TableWithASColumn(ID INT PRIMARY KEY, CharData VARCHAR(100) COLLATE SQL_Latin1_General_CP1_CI_AS)...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/11/14/tertiary-collation-and-the-performance-impact-on-order-clause.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922510" width="1" height="1"&gt;</description></item><item><title>How to make Like Case Sensitive?</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/09/18/how-to-make-like-case-sensitive.aspx</link><pubDate>Fri, 18 Sep 2009 07:13:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9896647</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9896647.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9896647</wfw:commentRss><description>Today, I got a question from customer: I have one column (Type: nVarchar) in a table which has data something like this: a1 aa aa2 AB I want to show all the rows which have all the lower case letters in the above mentioned column. The following query...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/09/18/how-to-make-like-case-sensitive.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9896647" width="1" height="1"&gt;</description></item><item><title>Unicode References</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/05/20/unicode-references.aspx</link><pubDate>Wed, 20 May 2009 08:00:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9631444</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9631444.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9631444</wfw:commentRss><description>In this article, I recommend several Unicode articles/websites for reference. Note, the list is not yet completed, I will add more entries and make better categorization My blog is a good site for collation issues in SQL Server. Sort it all out . Michael...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/05/20/unicode-references.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9631444" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/surrogate/default.aspx">surrogate</category><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>Beta version of collation selecting tool availiable </title><link>http://blogs.msdn.com/qingsongyao/archive/2009/04/11/beta-version-of-collation-selecting-tool-availiable.aspx</link><pubDate>Sat, 11 Apr 2009 02:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9544242</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9544242.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9544242</wfw:commentRss><description>Hello, Guys Please the attached zip file for the SQL Server collation selection tool. It is written in C#....(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/04/11/beta-version-of-collation-selecting-tool-availiable.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9544242" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/qingsongyao/attachment/9544242.ashx" length="107056" type="application/x-zip-compressed" /></item><item><title>SQL Server and UTF-8 Encoding (1) -True or False</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/04/10/sql-server-and-utf-8-encoding-1-true-or-false.aspx</link><pubDate>Fri, 10 Apr 2009 08:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9542491</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>34</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9542491.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9542491</wfw:commentRss><description>Today, I will start my series of articles about SQL Server and Unicode UTF-8 Encoding. In many times, I found when people ask me about UTF-8, they actually don't understand UTF-8. So today's talk will be quite short. I just clarify some misunderstand....(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/04/10/sql-server-and-utf-8-encoding-1-true-or-false.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9542491" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/surrogate/default.aspx">surrogate</category><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>What I was doing these days?</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/04/07/what-i-was-doing-these-days.aspx</link><pubDate>Tue, 07 Apr 2009 08:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9535312</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9535312.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9535312</wfw:commentRss><description>In recent days, I am mainly reading test books since I am a Tester, and I need to know more about testing. The good news for people who are interesting in collation topic is that I will have a SQL Server collation select tool available soon. I hope I...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/04/07/what-i-was-doing-these-days.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9535312" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>SQL Server’s Binary Collations</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/04/07/sql-server-s-binary-collations.aspx</link><pubDate>Tue, 07 Apr 2009 06:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9535265</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9535265.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9535265</wfw:commentRss><description>Today, I will discuss SQL Server’s Binary collations. In SQL Server, we have two kinds of binary collations: BIN collation, which has collation name ending with _BIN and BIN2 collation, which has collation name ending with _BIN2. In SQL Server, a string...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/04/07/sql-server-s-binary-collations.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9535265" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>Be aware of comparing unicode constant with varchar column (updated)</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/03/26/be-aware-of-comparing-unicode-constant-with-varchar-column.aspx</link><pubDate>Thu, 26 Mar 2009 07:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9509671</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9509671.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9509671</wfw:commentRss><description>Today, I looked for SQL Server JDBC Driver's sendStringParametersAsUnicode, this parameter controls how Unicode String (Java only have Unicode string which is UTF-16 encoding) will be sending to SQL Server. As the name of this parameter indicate, when...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/03/26/be-aware-of-comparing-unicode-constant-with-varchar-column.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9509671" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/surrogate/default.aspx">surrogate</category><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>Is Datetime2 compliant with Daylight Savings Time?</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/03/12/is-datetime2-compliant-with-daylight-savings-time.aspx</link><pubDate>Thu, 12 Mar 2009 08:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9471333</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9471333.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9471333</wfw:commentRss><description>Today, I got following questions: " The documentation states that Datetime2 is unaware of the time zone. Does that still guarantee that when the clock gets adjusted for Daylight Saving Time this will not result in duplicate timestamps? I.e. is Datetime2...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/03/12/is-datetime2-compliant-with-daylight-savings-time.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9471333" width="1" height="1"&gt;</description></item><item><title>Why I write so many collation topics?</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/03/11/why-i-write-so-many-collation-topics.aspx</link><pubDate>Wed, 11 Mar 2009 08:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9470106</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9470106.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9470106</wfw:commentRss><description>You may wonder why I keep writing collation topics in my blogs. I found our Books Online topics related to collation is not so clearly enough, and sometime it confuse our reader. I intend to present my idea related to collation in a series of blogs, and...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/03/11/why-i-write-so-many-collation-topics.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9470106" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>Got Collation conflict,  How to avoid this?</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/03/11/got-collation-conflict-how-to-avoid-this.aspx</link><pubDate>Wed, 11 Mar 2009 07:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9470102</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9470102.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9470102</wfw:commentRss><description>The best way to avoid SQL Server's collation conflict issue is that avoid have different collations in your database schema. If your server and database have the same collation, you will never see the conflict collation issue. if all string columns in...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/03/11/got-collation-conflict-how-to-avoid-this.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9470102" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/qingsongyao/archive/tags/collation/default.aspx">collation</category></item><item><title>GB18030 Character Set Support in SQL Server</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/02/24/gb18030-character-set-support-in-sql-server.aspx</link><pubDate>Tue, 24 Feb 2009 09:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442257</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9442257.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9442257</wfw:commentRss><description>Recently, I got several request related to GB18030 Character Set support in SQL Server. Here is one of the requests: When I try to insert different combination of GB18030 characters in to a varchar column, it gives me unique constraint violation error....(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/02/24/gb18030-character-set-support-in-sql-server.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442257" width="1" height="1"&gt;</description></item><item><title>My recommendation of SQL Server’s Globalization Development</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/02/24/my-recommendation-of-sql-server-s-globalization-development.aspx</link><pubDate>Tue, 24 Feb 2009 09:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442243</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9442243.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9442243</wfw:commentRss><description>Normal 0 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/02/24/my-recommendation-of-sql-server-s-globalization-development.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442243" width="1" height="1"&gt;</description></item><item><title>UTF-16 Encoding and SQL Server (4) - String Function Case Study</title><link>http://blogs.msdn.com/qingsongyao/archive/2009/02/13/utf-16-encoding-and-sql-server-4-string-function-case-study.aspx</link><pubDate>Fri, 13 Feb 2009 09:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9417462</guid><dc:creator>Qingsong Yao</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/qingsongyao/comments/9417462.aspx</comments><wfw:commentRss>http://blogs.msdn.com/qingsongyao/commentrss.aspx?PostID=9417462</wfw:commentRss><description>Normal 0 false false false EN-US ZH-CN X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";...(&lt;a href="http://blogs.msdn.com/qingsongyao/archive/2009/02/13/utf-16-encoding-and-sql-server-4-string-function-case-study.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9417462" width="1" height="1"&gt;</description></item></channel></rss>