<?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>case-sensitive &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/case-sensitive/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Fri, 29 Sep 2017 11:30:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>MySQL: Understand Case Sensitivity parameters for Effective Migration (Case Sensitive or Case Insensitive)</title>
		<link>https://www.dbrnd.com/2016/11/mysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 16 Nov 2016 18:12:50 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[Case Insensitive]]></category>
		<category><![CDATA[case-sensitive]]></category>
		<category><![CDATA[data migration]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[lower_case_file_system]]></category>
		<category><![CDATA[lower_case_table_names]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tunning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3860</guid>

					<description><![CDATA[During the migration activity, most of the time we are facing issues related to Case Sensitivity. For example, In Windows Operating System, you cannot create two different directories like: &#8220;DBrnd.Com&#8221; and &#8220;dbrnd.com&#8221;. This both consider as same name in Windows Operating System, but In Linux Operating System, You can create both directories separately like: &#8220;DBrnd. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&amp;linkname=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&amp;linkname=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&amp;linkname=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&amp;linkname=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&amp;linkname=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&amp;linkname=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fmysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive%2F&#038;title=MySQL%3A%20Understand%20Case%20Sensitivity%20parameters%20for%20Effective%20Migration%20%28Case%20Sensitive%20or%20Case%20Insensitive%29" data-a2a-url="https://www.dbrnd.com/2016/11/mysql-understand-case-sensitivity-parameters-for-effective-migration-case-sensitive-or-case-insensitive/" data-a2a-title="MySQL: Understand Case Sensitivity parameters for Effective Migration (Case Sensitive or Case Insensitive)"></a></p><p>During the migration activity, most of the time we are facing issues related to Case Sensitivity.<br />
For example, </p>
<blockquote><p>In Windows Operating System, you cannot create two different directories like: &#8220;DBrnd.Com&#8221; and &#8220;dbrnd.com&#8221;. This both consider as same name in Windows Operating System, but In Linux Operating System, You can create both directories separately like: &#8220;DBrnd. Com&#8221; and &#8220;dbrnd.com&#8221;.</p></blockquote>
<blockquote><p>When we are migrating MySQL Database between two different Operating Systems, we should also take care about the name of Database files and folders.</p></blockquote>
<p><strong>There are mainly two MySQL Server parameters lower_case_file_system and lower_case_table_names.</strong></p>
<blockquote><p>A lower_case_file_system parameter ensures about case sensitivity of file names on the file system where the data directory is located.<br />
A lower_case_file_system OFF means file names are Case Sensitive, and ON means file names are Case Insensitive.</p></blockquote>
<blockquote><p>A lower_case_table_names parameters ensure about case sensitivity of table names.<br />
<strong>If lower_case_table_names = 0,</strong> Table name stored as specified, but comparisons are Case Sensitive.<br />
<strong>If lower_case_table_names = 1,</strong> Table name stored in lower case and comparisons are not Case Sensitive.<br />
<strong>If lower_case_table_names = 2,</strong> Table name stored as specified, but comparisons are in Lowercase.</p></blockquote>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>MySQL: Perform Case Sensitive string comparison</title>
		<link>https://www.dbrnd.com/2016/02/mysql-perform-case-sensitive-string-comparison/</link>
					<comments>https://www.dbrnd.com/2016/02/mysql-perform-case-sensitive-string-comparison/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 10 Feb 2016 17:58:27 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[case-sensitive]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[LIKE BINARY]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tunning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[string]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=1514</guid>

					<description><![CDATA[In this post, I am sharing a small demonstration on how to perform case-sensitive string comparison in MySQL. For example, if you are searching string with LIKE &#8216;a%&#8217;, also you get all records of LIKE &#8216;A%&#8217; &#8211; the reason is the case-insensitive comparison. By default, string comparisons are case insensitive because strings are non-binary. For [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&amp;linkname=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&amp;linkname=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&amp;linkname=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&amp;linkname=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&amp;linkname=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&amp;linkname=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F02%2Fmysql-perform-case-sensitive-string-comparison%2F&#038;title=MySQL%3A%20Perform%20Case%20Sensitive%20string%20comparison" data-a2a-url="https://www.dbrnd.com/2016/02/mysql-perform-case-sensitive-string-comparison/" data-a2a-title="MySQL: Perform Case Sensitive string comparison"></a></p><p>In this post, I am sharing a small demonstration on how to perform case-sensitive string comparison in MySQL. </p>
<p>For example, if you are searching string with LIKE &#8216;a%&#8217;, also you get all records of LIKE &#8216;A%&#8217; &#8211; the reason is the case-insensitive comparison.<br />
By default, string comparisons are case insensitive because strings are non-binary. For the case-sensitive comparison, we should use binary collation. </p>
<blockquote><p>If you need case-sensitive string comparison, you should use this COLLATION latin1_bin.</p>
<p><strong><code><a href="https://www.dbrnd.com/2015/10/mysql-how-to-change-default-character-set-to-utf-8/" target="_blank">You can visit this article about, How to change default COLLATION in MySQL. </a><br />
</code></strong></p></blockquote>
<p><strong>The String Case Sensitive Comparison using LIKE BINARY:</strong></p>
<p>You can also perform string case-sensitive comparison using LIKE BINARY operator.<br />
Generally, we need for password comparison.</p>
<p>Below is a full demonstration on this:</p>
<p><strong>Create a sample table and data: </strong></p>
<pre class="crayon-plain-tag">CREATE TABLE tbl_Students
(
    StudentID INT AUTO_INCREMENT
    ,StudentName VARCHAR(255)
    ,CONSTRAINT pk_tbl_Students_StudentID PRIMARY KEY (StudentID)
);

INSERT INTO tbl_Students (StudentName) 
VALUES ('Anvesh'),('Roy'),('martin'),('Loris'),('Jenny');</pre> </p>
<p><strong>Execute below three queries and check the result:<br />
</strong>Using normal LIKE you will get Case insensitive result and using LIKE BINARY you will get the Case sensitive result. </p>
<pre class="crayon-plain-tag">SELECT 
    StudentID
    ,StudentName
FROM tbl_Students WHERE StudentName LIKE 'roy';
-- Return one record of Student 'Roy'

SELECT 
    StudentID
    ,StudentName
FROM tbl_Students WHERE StudentName LIKE BINARY 'roy';
-- No record for Student 'roy' because this is case sensitive check,'roy' and 'Roy' both are different. 

SELECT 
    StudentID
    ,StudentName
FROM tbl_Students WHERE StudentName LIKE BINARY 'Roy';
-- Return one record of Student 'Roy'</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/02/mysql-perform-case-sensitive-string-comparison/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>PostgreSQL: Why identifiers are Case-Sensitive</title>
		<link>https://www.dbrnd.com/2015/10/postgresql-why-identifiers-are-case-sensitive/</link>
					<comments>https://www.dbrnd.com/2015/10/postgresql-why-identifiers-are-case-sensitive/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sat, 24 Oct 2015 16:08:38 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[case-sensitive]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[double quoted]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=935</guid>

					<description><![CDATA[Guys, this is one of the important discussion of PostgreSQL. All identifiers, including column name, are Case-Sensitive in PostgreSQL? Yes: when you define identifier in the double-quote, it is a Case-Sensitive. No: when you do not use double-quote for an identifier, it is not a Case-Sensitive. For example: With double-quoted: [crayon-6aa2ecb688074222510732/] Without double-quoted: [crayon-6aa2ecb688076061973721/] My [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&amp;linkname=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&amp;linkname=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&amp;linkname=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&amp;linkname=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&amp;linkname=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&amp;linkname=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F10%2Fpostgresql-why-identifiers-are-case-sensitive%2F&#038;title=PostgreSQL%3A%20Why%20identifiers%20are%20Case-Sensitive" data-a2a-url="https://www.dbrnd.com/2015/10/postgresql-why-identifiers-are-case-sensitive/" data-a2a-title="PostgreSQL: Why identifiers are Case-Sensitive"></a></p><p>Guys, this is one of the important discussion of PostgreSQL.<br />
All identifiers, including column name, are Case-Sensitive in PostgreSQL?</p>
<blockquote><p>Yes: when you define identifier in the double-quote, it is a Case-Sensitive.<br />
No: when you do not use double-quote for an identifier, it is not a Case-Sensitive.</p></blockquote>
<p>For example:<br />
<strong>With double-quoted:</strong></p>
<pre class="crayon-plain-tag">CREATE TABLE "Test" (rno integer);
SELECT *FROM Test /*True...*/
SELECT *FROM test; /*False...not work*/</pre> </p>
<p><strong>Without double-quoted:</strong></p>
<pre class="crayon-plain-tag">CREATE TABLE Test(rno integer);
SELECT *FROM Test /*True...*/
SELECT *FROM teST /*True...*/
SELECT *FROM test /*True...*/</pre> </p>
<blockquote><p>My advice: Never use double-quoted for any identifiers. Otherwise, you will face the problem of case-sensitivity.<br />
When you do not use double-quoted, PostgreSQL internally store all identifiers in small latter and you can access those all identifiers in any case. </p></blockquote>
<p>When you create your table using PGAdmin UI, by default it creates all identifiers with double-quoted.<br />
Always try to create your database objects by using the SQL script.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/10/postgresql-why-identifiers-are-case-sensitive/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
