Elemente de PL/SQL [pdf] - Baze de date
Elemente de PL/SQL [pdf] - Baze de date
Elemente de PL/SQL [pdf] - Baze de date
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
EXPRESII CASE – FORMA 1<br />
DECLARE<br />
codju<strong>de</strong>t VARCHAR2(2) := 'CJ';<br />
numeju<strong>de</strong>t VARCHAR2(20);<br />
BEGIN<br />
numeju<strong>de</strong>t := CASE codju<strong>de</strong>t<br />
WHEN 'MM' THEN 'Maramures'<br />
WHEN 'CT' THEN 'Constanta'<br />
WHEN 'CJ' THEN 'Cluj'<br />
ELSE 'Alt ju<strong>de</strong>t' END;<br />
END;<br />
F. Radulescu. Curs: <strong>Baze</strong> <strong>de</strong> <strong>date</strong> 25