ORACLE 备忘 游标

declare
   cursor c_job is select * from TB_ORG_PREFERENTIAL_INFO;
  c_row c_job%rowtype;
begin
  for c_row in c_job loop
    dbms_output.put_line(c_row.ORG_ID);
  end loop;
end;

你可能感兴趣的:(oracle)