View Single Post
  #4 (permalink)  
Old 03-27-2008, 02:45 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Cool Re: How to compare the string with case sensitive in sql server?

Yeah..sure...

Code:
declare @Test int
if((encrypt('test')=encrypt('Test'))) 
set @Test=1 
else if((encrypt('test')!=encrypt('Test')))
set @Test=0
select @Test as Result
That’s it…
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Reply With Quote