on 08-21-2017 8:26 AM
hi,
i tried to insert a records using for loop in proceedure but it throuh the error.
this is my code:
Create procedure "KABIL_PRACTICE"."FORLOOP_1"
as begin
begin
declare i integer;
create column table "KABIL_PRACTICE"."FOR_LOOP_1" ("ID" integer);
for i in 1..10 do
insert into "KABIL_PRACTICE"."FOR_LOOP_1" values(:i);
end for;
end;
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.