Home > MS SQL > Case Sensitive WHERE Condition MS SQL Server

Case Sensitive WHERE Condition MS SQL Server

I can see the WHERE condition checks the condition case insensitively. Here is the sql query that checks the username case sensitively in SQL Server.

SELECT * FROM [User] WHERE Username = ‘Sree’ Collate SQL_Latin1_General_CP1_CS_AS

For more info refer

http://www.mssqltips.com/sqlservertip/1032/case-sensitive-search-on-a-case-insensitive-sql-server/

Advertisements
  1. Johne550
    July 4, 2014 at 6:33 am

    Hey, thanks for the post.Really thank you! Really Cool. kkbaddkfkgbd

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: