Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
alle angemeldeten Benutzer können eine gegebene aktion ausgeben ( im Web )
declare i_aktion varchar(30); i_datum date; p_zaehler number (4); begin i_aktion := 'dba'; i_datum := TO_DATE('07.08.19','DD.MM.YY'); htp.p('Anmeldeliste für Aktion: ' || i_aktion); select count(*) into p_zaehler from aktanm where akt = i_aktion; if p_zaehler = 0 then raise_application_error(-20001, 'Genannte Aktion konnte nicht gefunden werden'); else for rec in (Select ben from aktanm Where akt = i_aktion AND dat = i_datum) loop htp.p('Name: ' || rec.ben); end loop; end if; exception when others then htp.p(sqlerrm); end;
run
|
edit
|
history
|
help
0
zama
DECODE() example
neha
Srinivas
prime number programe using pl/sql
function to check if reverse of a string s1 is a superstring of string s2.
a
Srinivas
PL/SQL declaracionVariables
scott