Syntax error converting the nvarchar value 'x' to a column of data type int.