Comparing the values reurned from querying the sysindexes view in Informix
11.10. I believe the ibm_db.statistics api documentation is incorrect.
It says "
NON_UNIQUE:: An integer value representing whether the index prohibits unique
values, or whether the row represents statistics on the table itself:
Return value:: Parameter type 0 (SQL_FALSE):: The index allows duplicate values.
1. (SQL_TRUE):: The index values must be unique.
NULL:: This row is statistics information for the table itself
"
Unique indexes return a 0, while indexes that allow duplicates return 1.
Original issue reported on code.google.com by ro...@cargotel.com on 11 Jun 2015 at 5:44
Original issue reported on code.google.com by
ro...@cargotel.com
on 11 Jun 2015 at 5:44