0% found this document useful (0 votes)
74 views2 pages

Rapport

The document is a report from an engineer at a company. It has a date and title in French. The report has a subtitle but the content is not provided.

Uploaded by

chadia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views2 pages

Rapport

The document is a report from an engineer at a company. It has a date and title in French. The report has a subtitle but the content is not provided.

Uploaded by

chadia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

[Date] [Titre du

document]
[Sous-titre du document]

INGENIEUR
[NOM DE LA SOCIETE]
Incorrect Incorrect. Refer to Section 5 44. What is wrong with the following code? DECLARE CURSOR

dept_curs IS SELECT * FROM departments; BEGIN FOR dept_rec IN dept_curs LOOP

DBMS_OUTPUT.PUT_LINE(dept_curs%ROWCOUNT || dept_rec.department_name); END LOOP;

DBMS_OUTPUT.PUT_LINE(dept_rec.department_id); END; Mark for Review (1) Points The cursor

DEPT_CURS has not been opened. The implicitly declared record DEPT_REC cannot be referenced
outside th

e cursor FOR loop. (*) You cannot use %ROWCOUNT with a cursor FOR loop. The cursor DEPT_CURS
has not been closed. Nothing is wrong, this code will execute successfully. Incorrect Incorrect. Refer

to Section 5 45. What is wrong with the following code? BEGIN FOR emp_rec IN (SELECT * FROM e

mployees WHERE ROWNUM < 10

You might also like