What is the problem with following SQL. Can table variable not be used in JOIN clause?
Error msg is of \"Msg 170, Level 15, State 1, Line 8 Line 8:
Your alias t1 is in the wrong place
t1
UPDATE t1 SET SportName = @t._SportName FROM @t INNER JOIN tblSport t1 ON (t1.Lang = @t._Lang)