Error in the syntax of the SQL in TDM merge scripts