Query the db2 system table to get the index of the table

quote

select * from syscat.indexes where tabname = 'T_CHECKLIMIT'

select * from syscat.indexes where tabname = 'T_CHECKLIMIT' and indname = 'SQL171113120118780'

columns can see which columns make up this index +YWTAG+CHECKSTH
uniquerule means yes Not pk P
ownertype means it is the only U


http://blog.csdn.net/db2china/article/details/17310159


http://blog.csdn.net/TUBER727/article/details/12564309

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326137578&siteId=291194637