At the moment the merge statement created a staging table for bulk loading to before the merge takes place.
We need to change this to use a #temp table, however we also then need to be able to specify the DB collation since MGB reminded me it's created in tempdb so has the default collation
At the moment the merge statement created a staging table for bulk loading to before the merge takes place.
We need to change this to use a #temp table, however we also then need to be able to specify the DB collation since MGB reminded me it's created in tempdb so has the default collation