plsql

Sql code posted
created at 11 Mar 16:50

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
declare
cursor cur is
(select contractid from contract where rownum=1);
r_serviceid contract.contractid%type;

begin
open cur;
loop 
fetch cur into r_serviceid;
end loop;
close cur;
end;
197 Bytes in 2 ms with coderay