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.
%ROWTYPE<br />
Sintaxa:<br />
nume_variabila nume_tabela%ROWTYPE;<br />
Exemplu:<br />
DECLARE<br />
v_stu<strong>de</strong>nt stud%ROWTYPE;<br />
BEGIN<br />
SELECT *<br />
INTO v_stu<strong>de</strong>nt<br />
FROM stud WHERE matr=1456;<br />
v_stu<strong>de</strong>nt.nume := 'MARCEL';<br />
v_stu<strong>de</strong>nt.punctaj := 1400;<br />
. . .<br />
END;<br />
F. Radulescu. Curs: <strong>Baze</strong> <strong>de</strong> <strong>date</strong> 43