0
down vote
favorite
I have a problem with my Merge statement (SCD type 1). I am getting the error: Msg 207, Level 16, State 1, Line 119 Invalid column name 'Sales Doc Nbr'. although the column exist in source and target tables and the spelling is correct.
Any ideas?