Try this:
for rec in (select COLUMN_NAME, COLUMN_ID
from user_tab_columns
where table_name=upper('&1')
order by column_id)
loop
if rec.column_id = 1 then
----------------
else
----------------
end if;
end loop;
![]()
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |