Re: Wrong SQLSTATE for Native Error 2727



Could you please provide more info? Like index_junk and table creation.

"Aleksey Dmitriyev" <AlekseyDmitriyev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:981E61BC-DB8B-4DE3-A21A-6FFEE2824DF2@xxxxxxxxxxxxxxxx
> 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