Either in your JOIN or your WHERE clause you reference two columns with a different collation.
You need to define one collation you'd like to use.
Something like
SELECT *
FROM @t1 t1
INNER JOIN @t2 t2
ON t1.col1=t2.col1 COLLATE sql_latin1_general_cp850_bin
Lutz
A pessimist is an optimist with experience. How to get fast answers to your question[/url]
How to post performance related questions[/url]
Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]