Can anyone give me some sample TSQL code to compare two email addresses to check they are equal or not?
CLR functions are not an option. I tried that but our DBA for some reason is totally against using CLR functions in SSMS.
I know how to get the domain names (eg: mycompany.com) from the email address.
Really appreciate any suggestions
Thanks in advance