I am trying to execute the command in the other server which are linked. EXEC @retVal = sp_executesql @dml; statement giving me the database name. But I can't hold it in a variable for my level of checks. Can
↧