Wrong SQLSTATE for Native Error 2727



I get SQLSTATE 42S21 with native code 2727 when executing this query:

alter index index_junk on testauto rebuild

According to ODBC documentation the SQLSTATE should be 42S12 "Index not
found", not 42S21 "Column already exists". Is it a bug?

--
-- Aleksey Dmitriyev
.


Loading