Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SET EXACT ON in MSSQL

Posted on 2001-07-11
2
677 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
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 shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

856 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