Sql syntax near. Iif sql. incorrect syntax near declare. select iif. sql в коде ошибка.