Solved

SET EXACT ON in MSSQL

Posted on 2001-07-11
2
671 Views
Last Modified: 2008-02-01
Is that any similar command in MSSQL like Oracle SET EXACT ON/OFF so that case-sensitive query can be performed in case-insensitive database instance.
0
Comment
Question by:chnelson
2 Comments
 
LVL 6

Accepted Solution

by:
acampoma earned 20 total points
ID: 6275809
You can only convert to varbinary to use case sensitivity
Be sure to do the same where clause without the varbinary conversion to use indexes before finding actual values.
where Name = 'John'
and convert(vabinary(20),Name) = convert(vabinary(20),'John')

0
 
LVL 1

Author Comment

by:chnelson
ID: 6275956
what's brilliant idea!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question