Deveria ser: ... WHERE LastName LIKE '%' + @LastName + '%'; Ao invés de: ... WHERE LastName LIKE '%@LastName%'