create unique index i_PK_INVBASDOC on bd_invbasdoc(PK_INVBASDOC); select pk_invbasdoc from bd_invbasdoc where rownum<20001 and 1 = 1 and ( 1 = 1 ) order by PK_INVBASDOC asc drop index i_PK_INVBASDOC; select pk_invbasdoc from bd_invbasdoc where rownum<20001 and 1 = 1 and ( 1 = 1 ) order by PK_INVBASDOC asc