Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Case-Sensitive String Comarison on Any SQL Server

By MikeMcManus,

When you want to compare two strings that may have case differences on a case-insensitive server, this script will quickly and easily do the compare for you.  It returns 0 if strings are equal, 1 if not.  Feel free to modify/reuse in your code.

Total article views: 159 | Views in the last 30 days: 1
 
Tags
miscellaneous    
t-sql    
 
Contribute