I\'m trying to search for an exact match of a string in mysql. The string is \'nrew\'. But when I do the queries below, I still get a result:
SELECT UserID F
Give this is try: http://www.devx.com/tips/Tip/13043
Select UserID from sys_users where convert(varbinary, UserID) = convert(varbinary, 'NREW')
Or try COLLATE
http://aspadvice.com/blogs/ssmith/archive/2007/09/30/Case-Sensitive-or-Insensitive-SQL-Query.aspx