db2 查新索引 主键 sql时间:2022-10-05 07:34:401.查询主键 select * from sysibm.syskeycoluse where tbname='...' 2.查询索引 select * from sysibm.indexs where tbname='...'