ahojte, potreboval by pomoct s kurzorom... skompilovat skompiluje ale na stranke nezobrazi:
PROCEDURE automatickePriradenie IS
cursor cur_priemer is
select "os_cislo", "rocnik" from piska."x_student"
where "rocnik"=4
and "id_projekt" is null
order by "priemer";
FOR ou_stud IN cur_priemer LOOP
priradeny:=FALSE;
xxx := ou_stud."os_cislo";
FOR priority in 1..3 LOOP
--A check kapacity
htp.p('priorita je '||priority||' blbla<br>');
IF (priradeny = FALSE) THEN
-- htp.p(xxx||'<br>');
Select "id_projekt" into pIdProjekt
from piska."x_zaujem"
where "priorita"= priority
and "os_cislo" = xxx;
...
...
...
Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre