how to call a procedure/cursor [message #297972] |
Mon, 04 February 2008 06:30 |
bpm12
Messages: 3 Registered: February 2008
|
Junior Member |
|
|
declare
cursor backup_duration
is
select *
from oracle_backup_schedule
where time+duration>=3.5 and time<=4.5;
begin
for backup_duration_rec in backup_duration loop
dbms_output.put_line('status is ' || backup_duration_rec.database_name || ' which is ' || backup_duration_rec.type || ' runs at ' || backup_duration_rec.time || ' on ' || backup_duration_rec.day || ' lasts ' || backup_duration_rec.duration);
end loop;
end;
hi guys, im at the early stages of using pl/sql
anyone know how i would call this procedure above using toad?
thanks
|
|
|
|
|
|
|
|
|
|
|