Viewing 2 posts - 1 through 2 (of 2 total)
The type precidence between varchar and nvarchar on your code will upconvert the varchar to an nvarchar during the comparison. It will still work though. It's like you are converting...
July 24, 2013 at 2:36 pm
#1635528
thanks for the script. Note to people using it, the CTE doesn't deal with tables from other databases.
August 28, 2012 at 10:15 am
#1530933