select /*+ first_rows_1 */ sys_op_lbid({object_id},'L',t.rowid), n, area, d from PT_IOT t where "N" is not null or "AREA" is not null or "D" is not null ;
(n, area, d) is the primary key on my IOT, and the ORs of 'is not null' are redundant in this case, but relevant to an index with nullable columns.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/appearances.html Public Appearances - schedule updated 10th Jan 2006
Hi all,
Does any one knows a simple way to figure our DBA for a row in an IOT table? I can manually traverse the tree dumping blocks but that's a bit time consuming if you need to do it for a number of rows.
Thanks in advance for any ideas, Alex -- //www.freelists.org/webpage/oracle-l
-- //www.freelists.org/webpage/oracle-l