Anda di halaman 1dari 25

7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul

(https://code-erul.xyz)

Search and enter

Answer CCNA 2 (https://code-erul.xyz/answer-ccna2-2017/)

Linux Essentials (https://code-erul.xyz/linux-essentials/) Oracle Academy

(http://makhluk_mengerikan_akan_keluar_dari_di) (http://makhluk_mengerikan_akan_keluar_dari_di) (http://lemak_perut_akan_hilang_dalam_beberapa)


Makhluk mengerikan akan keluar dari tubuh jika di Makhluk mengerikan akan keluar dari tubuh jika di Lemak perut akan hilang dalam beberapa hari jika
pagi hari kamu minum segelas pagi hari kamu minum segelas sebelum tidur Anda...
(http://makhluk_mengerikan_akan_keluar_dari_di) (http://makhluk_mengerikan_akan_keluar_dari_di) (http://lemak_perut_akan_hilang_dalam_beberapa)

Home (https://code-erul.xyz) / PL/SQL Oracle (https://code-erul.xyz/category/plsql-oracle/)


/ Answer PL/SQL Oracle Academy 2017 Selection 6 9

Answer PL/SQL Oracle Academy 2017 Selection 6 9


By codeerul (https://code-erul.xyz/author/codeerul/) On July 8, 2017 (https://code-erul.xyz/answer-plsql-oracle-academy-
2017-selection-6-10/) In PL/SQL Oracle (https://code-erul.xyz/category/plsql-oracle/) 39 views

(https://go.onclasrv.com/afu.php? (http://pemerintah_indonesia_tidak_ingin_anda)
Pemerintah Indonesia Tidak Ingin Anda Tahu Tentang
ini .. (http://pemerintah_indonesia_tidak_ingin_anda)
zoneid=1272909)

Answer PL/SQL Oracle Academy 2017


Selection 6 10
(http://makhluk_mengerikan_akan_keluar_dari_di)

Selection 6 Lesson 1 : User-Defined Records Makhluk mengerikan akan keluar dari tubuh jika di pagi
hari kamu minum segelas
(http://makhluk_mengerikan_akan_keluar_dari_di)
1. The following code declares a PL/SQL record with the same structure as a row of the
departments table. True or False?1. The following code declares a PL/SQL record with the
same structure as a row of the departments table. True or False?DECLARE v_dept_rec
departments%ROWTYPE;

True (*)
(http://bau_mulut_bau_menghilang_setelah_hari)
False
Bau mulut? Bau menghilang setelah beberapa hari jika
sebelum tidur, jangan...
(http://bau_mulut_bau_menghilang_setelah_hari)
2. Which of the following statements about user-defined PL/SQL records is NOT true?

It can be defined as NOT NULL.It can be defined as NOT NULL.


It can be a component of another PL/SQL record.
It must contain one or more components, but all the components must have scalar
datatypes. (*)
It can be used as an OUT parameter in a package procedure. (http://lemak_perut_akan_hilang_dalam_beberapa)
It is not the same as a row in a database table. Lemak perut akan hilang dalam beberapa hari jika
sebelum tidur Anda...
(http://lemak_perut_akan_hilang_dalam_beberapa)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 1/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
3. Which of the following will successfully create a record type containing two fields, and a
record variable of that type?3. Which of the following will successfully create a record type
containing two fields, and a record variable of that type?

TYPE person_type IS (l_name VARCHAR2(20), gender CHAR(1)); person_rec


person_type;
TYPE person_type IS RECORD (l_name VARCHAR2(20), gender
CHAR(1)); person_rec person_type; (*)
TYPE person_type IS (l_name VARCHAR2(20), gender CHAR(1)); person_rec TYPE
person_type;
TYPE person_type IS RECORD (l_name VARCHAR2(20), gender
CHAR(1)); person_rec TYPE person_type;

Selection 6 Leasson 2 : Indexing Tables of


Records

1. To declare an INDEX BY table, we must first declare a type and then declare a
collection variable of that type. True or False?1. To declare an INDEX BY table, we must
first declare a type and then declare a collection variable of that type. True or False?
True (*)
False

2. Which of the following methods can be used to reference elements of an INDEX BY


table? (Choose three.) (Choose all correct answers)
DROP
PREVIOUS
FIRST (*)
COUNT (*)
EXISTS (*)

3. Which of the following successfully declares an INDEX BY table of records which could
be used to store copies of complete rows from the departments table?
DECLARE TYPE t_depttab IS TABLE OF departments%ROWTYPE INDEX BY
BINARY_INTEGER;
DECLARE TYPE t_depttab IS TABLE OF departments%ROWTYPE INDEX BY
NUMBER; (*)
DECLARE TYPE t_depttab IS INDEX BY TABLE OF departments%ROWTYPE
INDEX BY BINARY_INTEGER;
DECLARE TYPE t_depttab IS TABLE OF departments%TYPE INDEX BY
BINARY_INTEGER;

4. What is the largest number of elements (i.e., records) that an INDEX BY table of
records can contain?

100
4096
32767
Many millions of records because a BINARY_INTEGER or PLS_INTEGER can have a
very large value (*)
None of the above

5. Which of these PL/SQL data structures could store a complete copy of the employees
table, i.e., 20 complete table rows?
A record
An INDEX BY table of records (*)
An explicit cursor based on SELECT * FROM employees;
An INDEX BY table

6. Which of these PL/SQL data structures can NOT store a collection?


An INDEX BY table of records
A PL/SQL record (*)
An INDEX BY table indexed by PLS_INTEGER
An INDEX BY table indexed by BINARY_INTEGER

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 2/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul

Selection 7 Leasson 1 : Handling Exceptions

1. Which of the following is NOT an advantage of including an exception handler in a


PL/SQL block?1. Which of the following is NOT an advantage of including an exception
handler in a PL/SQL block?
Prevents errors from occurring (*)
Avoids costly and time-consuming correction of mistakes
Code is more readable because error-handling routines can be written in the same block
in which the error occurred
Prevents errors from being propagated back to the calling environment

2. Which of the following best describes a PL/SQL exception?

A user enters an invalid password while trying to log on to the database.


The programmer forgets to declare a cursor while writing the PL/SQL code.
An error occurs during the execution of the block, which disrupts the normal operation of
the program. (*)
A compile-time error occurs because the PL/SQL code references a non-existent table.

3. Which of these exceptions can be handled by an EXCEPTION section in a PL/SQL


block?
An attempt is made to divide by zero
A SELECT statement returns no rows
Any other kind of exception that can occur within the block
All of the above (*)
None of the above

4. Only one exception at a time can be raised during one execution of a PL/SQL block.
True or False?
True (*)
False

5. Which of the following EXCEPTION sections is constructed correctly? (Choose three.)


(Choose all correct answers)

EXCEPTION WHEN TOO_MANY_ROWS THEN statement_1; END; (*)


EXCEPTION WHEN OTHERS THEN statement_1; END; (*)
EXCEPTION WHEN NO_DATA_FOUND THEN statement_1; WHEN OTHERS
THEN statement_2; END; (*)
EXCEPTION WHEN NO_DATA_FOUND THEN statement_1; WHEN
NO_DATA_FOUND THEN statement_2; WHEN OTHERS THEN statement_3; END;
EXCEPTION WHEN OTHERS THEN statement_1; WHEN NO_DATA_FOUND
THEN statement_2; END;

6. The following EXCEPTION section is constructed correctly. True or False?

EXCEPTION
WHEN ZERO_DIVIDE OR TOO_MANY_ROWS OR NO_DATA_FOUND
THEN statement_1;
statement_2;
WHEN OTHERS
THEN statement_3;
END;
True (*)
False

7. Which of the following are NOT good practice guidelines for exception handling?
(Choose two.)
(Choose all correct answers)

Handle specific named exceptions where possible, instead of relying on WHEN OTHERS.
Include a WHEN OTHERS handler as the first handler in the exception section. (*)
Use an exception handler whenever there is any possibility of an error occurring.
Allow exceptions to propagate back to the calling environment. (*)
Test your code with different combinations of data to see what potential errors can
happen.

8. Examine the following code. Why does this exception handler not follow good practice
guidelines? (Choose two.)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 3/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
DECLARE v_dept_name departments.department_name%TYPE; BEGIN
SELECT department_name INTO v_dept_name FROM departments
WHERE department_id = 75; EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(A select returned more than one row); END;
(Choose all correct answers)

You should not use DBMS_OUTPUT.PUT_LINE in an exception handler.


department_id 75 does not exist in the departments table.
The exception section should include a WHEN TOO_MANY_ROWS exception handler. (*)
The exception handler should test for the named exception NO_DATA_FOUND. (*)
The exception handler should COMMIT the transaction.

Selection 7 Leasson 2 : Trapping Oracle Server


Exceptions

1. Which of the following is NOT a predefined Oracle Server error?1. Which of the
following is NOT a predefined Oracle Server error?TOO_MANY_ROWS
ZERO_DIVIDE
e_sal_too_high EXCEPTION; (*)
NO_DATA_FOUND
DUP_VAL_ON_INDEX

2. Which of the following best describes a predefined Oracle Server error?


Is not raised automatically but must be declared and raised explicitly by the PL/SQL
programmer
Has a standard Oracle error number but must be declared and named by the PL/SQL
programmer
Has a standard Oracle error number and a standard name which can be referenced in the
EXCEPTION section (*)
Is associated with an Oracle error number using PRAGMA EXCEPTION_INIT

3. Which kind of error can NOT be handled by PL/SQL?

User-defined errors
Non-predefined Oracle Server errors
Syntax errors (*)
Predefined Oracle Server errors

4. Examine the following code. At Line A, you want to raise an exception if the employees
manager_id is null. What kind of exception is this?DECLARE v_mgr_id
employees.manager_id%TYPE; BEGIN SELECT manager_id INTO v_mgr_id FROM
employees WHERE employee_id = 100; IF v_mgr_id IS NULL THEN Line
A END IF;
A NO_DATA_FOUND exception
A predefined Oracle Server exception
A user-defined exception (*)
A constraint violation
A non-predefined Oracle server exception

5. How would you trap Oracle Server exception ORA-01403: no data found?
WHEN NO_DATA_FOUND THEN (*)
WHEN SQL%ROWCOUNT=0 THEN
WHEN NO DATA FOUND THEN
WHEN ORA-01403 THEN

6. No employees exist whose salary is less than 2000. Which exception handlers would
successfully trap the exception that will be raised when the following code is executed?
(Choose two.)DECLARE v_mynum NUMBER := 10; v_count NUMBER; BEGIN
SELECT COUNT(*) INTO v_count FROM employees WHERE salary < 2000;
v_mynum := v_mynum / v_count; EXCEPTION END;
(Choose all correct answers)
OTHER
ZERO_DIVIDE (*)
OTHERS (*)
SQL%ROWCOUNT = 0
NO_DATA_FOUND

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 4/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
7. What is the correct syntax to associate an exception named EXCEPNAME with the
non-predefined Oracle Server error ORA-02292?
WHEN (-2292, excepname) THEN
PRAGMA EXCEPTION_INIT (excepname, -2292) (*)
SQLCODE (-2292, excepname);
RAISE_APPLICATION_ERROR (-2292, excepname);

8. An ORA-1400 exception is raised if an attempt is made to insert a null value into a NOT
NULL column. DEPARTMENT_ID is the primary key of the DEPARTMENTS table. What
will happen when the following code is executed?DECLARE e_not_null
EXCEPTION; BEGIN PRAGMA EXCEPTION_INIT(e_not_null, -1400); INSERT
INTO departments (department_id, department_name) VALUES(null,
Marketing); EXCEPTION WHEN e_not_null THEN
DBMS_OUTPUT.PUT_LINE(Cannot be null); END;
The code will not execute because the syntax of the INSERT statement is wrong.
The code will not execute because PRAGMA EXCEPTION_INIT must be coded in the
DECLARE section. (*)
The exception will be raised and Cannot be null will be displayed.
The code will not execute because the syntax of PRAGMA EXCEPTION_INIT is wrong.

9. Examine the following code. The UPDATE statement will raise an ORA-02291
exception.BEGIN UPDATE employees SET department_id = 45; EXCEPTION WHEN
OTHERS THEN INSERT INTO error_log_table VALUES (SQLCODE); END;
What will happen when this code is executed?
The code will fail because we access error message numbers by using SQLERRNUM, not
SQLCODE.
The code will fail because SQLCODE has not been declared.
The code will execute and insert error number 02291 into error_log_table.
The code will fail because we cannot use functions like SQLCODE directly in a SQL
statement. (*)

10. Which type of exception MUST be explicitly raised by the PL/SQL programmer?
User-defined exceptions (*)
Predefined Oracle server errors such as TOO_MANY_ROWS
Non-predefined Oracle server errors such as ORA-01203
All of the above

11. A PL/SQL block executes and an Oracle Server exception is raised. Which of the
following contains the text message associated with the exception?
SQL%MESSAGE
SQLERRM (*)
SQL_MESSAGE_TEXT
SQLCODE

12. Which one of the following events would implicitly raise an exception?
An UPDATE statement modifies no rows.
A database constraint is violated. (*)
The PL/SQL programmer mis-spells the word BEGIN as BEGAN.
A SELECT statement returns exactly one row.

Selection 7 Leasson 3 : Trapping User-Defined


Exceptions

1. What is a user-defined exception?1. What is a user-defined exception?

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 5/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
An exception which is not raised automatically by the Oracle server, but must be declared
and raised explicitly by the PL/SQL programmer. (*)
An exception which has a predefined Oracle error number but no predefined name.
A predefined Oracle server exception such as NO_DATA_FOUND.
An exception handler which the user (the programmer) includes in the EXCEPTION
section.

2. What is the datatype of a user-defined exception?


BOOLEAN
VARCHAR2
EXCEPTION (*)
NUMBER
None of the above

3. What is wrong with the following code?


BEGIN UPDATE employees SET salary = 20000
WHERE job_id = CLERK;
IF SQL%ROWCOUNT = 0 THEN
RAISE NO_DATA_FOUND; Line A
END IF; EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE(No employee was updated); END;

You cannot use SQL%ROWCOUNT in conditional control statements such as IF or CASE.


Line A should be: HANDLE NO_DATA_FOUND
NO_DATA_FOUND has not been DECLAREd.
Nothing is wrong; the code will execute correctly. (*)
You cannot explicitly raise predefined Oracle Server errors such as NO_DATA_FOUND.

4. What will be displayed when the following code is executed?


DECLARE
e_myexcep EXCEPTION; BEGIN
DBMS_OUTPUT.PUT_LINE(Message 1);
RAISE e_myexcep;
DBMS_OUTPUT.PUT_LINE(Message 2); EXCEPTION
WHEN e_myexcep THEN
DBMS_OUTPUT.PUT_LINE(Message 3);
RAISE e_myexcep;
DBMS_OUTPUT.PUT_LINE(Message 4); END;

Message 1 Message 2 Message 3 Message 4


The code will execute but will return an unhandled exception to the calling environment.(*)

Message 1 Message 3

Message 1 Message 3 Message 4

The code will not execute because it contains at least one syntax error.

5. The following line of code is correct. True or


False? RAISE_APPLICATION_ERROR(-21001,My error message);

True
False (*)

6. How are user-defined exceptions raised ?


By PRAGMA EXCEPTION_INIT
By DECLARE e_my_excep EXCEPTION;
By RAISE exception_name; (*)
None of the above. They are raised automatically by the Oracle server.

7. The following three steps must be performed to use a user-defined exception: Raise
the exception Handle the exception Declare the exception In what sequence must
these steps be performed?

The steps can be performed in any order.


Raise, Handle, Declare
Handle, Raise, Declare
Declare, Raise, Handle (*)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 6/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
8. You want to display your own error message to the user. What is the correct syntax to
do this?
RAISE application_error;
RAISE_APPLICATION_ERROR(My own message, -20001);
RAISE_APPLICATION_ERROR(20001, My own message);
RAISE_APPLICATION_ERROR (-20001, My own message); (*)

Selection 7 Leasson 4 : Recognizing the Scope


of Exceptions

1. Predefined Oracle Server exceptions such as NO_DATA_FOUND can be raised


automatically in inner blocks and handled in outer blocks. True or False?1. Predefined
Oracle Server exceptions such as NO_DATA_FOUND can be raised automatically in inner
blocks and handled in outer blocks. True or False?
True (*)
False

2. Non-predefined Oracle Server errors (associated with Oracle error numbers by


PRAGMA EXCEPTION_INIT) can be declared and raised in inner blocks and handled in
outer blocks. True or False?
True
False (*)

3. What will happen when the following code is executed?


DECLARE
e_outer_excep EXCEPTION; BEGIN
DECLARE
e_inner_excep EXCEPTION;
BEGIN
RAISE e_outer_excep;
END; EXCEPTION
WHEN e_outer_excep THEN
DBMS_OUTPUT.PUT_LINE(Outer raised);
WHEN e_inner_excep THEN
DBMS_OUTPUT.PUT_LINE(Inner raised); END;

The code will fail to compile because e_inner_excep was declared but never RAISEd.
The code will fail to compile because e_inner_excep cannot be referenced in the outer
block. (*)
The code will propagate the e_outer_excep back to the calling environment (Application
Express).
The code will execute successfully and Outer Raised will be displayed.

4. What will happen when the following code is executed?


DECLARE
e_excep1 EXCEPTION;
e_excep2 EXCEPTION; BEGIN
RAISE e_excep1; EXCEPTION
WHEN e_excep1 THEN BEGIN
RAISE e_excep2; END; END;
It will fail to compile because you cannot have a subblock inside an exception section.
It will compile successfully and return an unhandled e_excep2 to the calling environment.
(*)
It will fail to compile because e_excep1 is out of scope in the subblock.
It will fail to compile because you cannot declare more than one exception in the same
block.

5. There are three employees in department 90. What will be displayed when this code is
executed?
DECLARE
v_last_name employees.last_name%TYPE; BEGIN

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 7/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
DBMS_OUTPUT.PUT_LINE(Message 1);
BEGIN
SELECT last_name INTO v_last_name
FROM employees WHERE department_id = 90;
DBMS_OUTPUT.PUT_LINE(Message 2);
END;
DBMS_OUTPUT.PUT_LINE(Message 3); EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(Message 4); END;

Message 1 Message 3 Message 4

Message 1 Message 4(*)

Message 1

An unhandled exception will be propagated back to the calling environment.

None of the above

6. What will be displayed when the following code is executed?


<<outer>> DECLARE
v_myvar NUMBER; BEGIN
v_myvar := 25;
DECLARE
v_myvar NUMBER := 100;
BEGIN
outer.v_myvar := 30;
v_myvar := v_myvar / 0;
outer.v_myvar := 35;
END;
v_myvar := 40; EXCEPTION
WHEN ZERO_DIVIDE THEN
DBMS_OUTPUT.PUT_LINE(v_myvar); END;

100
30 (*)
25
35
40

Selection 8 Lesson 1 : Creating Procedures

1. Which of the following are characteristics of anonymous PL/SQL blocks but not PL/SQL
subprograms? (Choose three.)(Choose all correct answers)

Are compiled every time they are executed (*)


Can begin with the keyword DECLARE (*)
Can take parameters
Are unnamed (*)
Are stored in the database

2. Subprograms and anonymous blocks can be called by other applications. True or


False?
True
False (*)

3. Which of the following are benefits of using PL/SQL subprograms rather than
anonymous blocks? (Choose three.)
(Choose all correct answers)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 8/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
Stored externally
Easier code maintenance (*)
Code reuse (*)
Do not need to define exceptions
Better data security (*)

4. PL/SQL subprograms, unlike anonymous blocks, are compiled each time they are
executed. True or False?
True
False (*)

5. Procedures are generally used to perform what?


A SELECT statement
An action (*)
A return of values
All of the above
None of the above

6. A programmer wants to create a PL/SQL procedure named MY_PROC. What will


happen when the following code is executed?CREATE OR REPLACE PROCEDURE
my_proc IS
v_empid employees.empid%TYPE; BEGIN
SELECT employee_id INTO v_empid FROM employees
WHERE region_id = 999;
DBMS_OUTPUT.PUT_LINE(The salary is: || v_salary);

The statement will fail because the last line of code should be END my_proc; (*)
The statement will raise a NO_DATA_FOUND exception because region_id 999 does not
exist.
The statement will fail because you cannot declare variables such as v_empid inside a
procedure.

7. Which of the following keywords MUST be included in every PL/SQL procedure


definition? (Choose two.)
(Choose all correct answers)
DECLARE
BEGIN (*)
EXCEPTION
REPLACE
END (*)

8. A stored PL/SQL procedure can be invoked from which of the following?A. A PL/SQL
anonymous blockB. A calling applicationC. A SELECT statementD. Another PL/SQL
procedure

A only
A and B
B and C
A, B, and D (*)
A and C

9. A stored procedure add_dept may be invoked by the following command in Application


Express. True or False?BEGIN add_dept;END;
True (*)
False

10. The following are the steps involved in creating, and later modifying and re-creating, a
PL/SQL procedure in Application Express. Which step is missing?1. Type the procedure
code in the SQL Commands window2. Click on the Save button and save the procedure
code3. Retrieve the saved code from Saved SQL in SQL Commands4. Modify the code
in the SQL Commands window5. Execute the code to re-create the procedure

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 9/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
Enter parameters and data type
Exe ute the procedure from USRE_SOURCE data dictionary view
Execute the code to create the procedure (*)
Invoke the procedure from an anonymous block

11. When modifying procedure code, the procedure code statement must be re-executed
to validate and store it in the database. True or False?
True (*)
False

12. A nested subprogram can be called from the main procedure or from the calling
environment. True or False?
True
False (*)

13. Why will the following procedure fail?


CREATE OR REPLACE PROCEDURE mainproc

IS
PROCEDURE subproc () IS BEGIN

BEGIN

subproc ();

END;

Procedure main proc must use the keyword AS not IS


Procedure mainproc does not need the keyword BEGIN
Procedure subproc does not need the keyword BEGIN
Procedure subproc does not have an END; statement (*)

Selection 8 Lesson 2 : Using Parameters in


Procedures

1. Which of the following best describes the difference between a parameter and an
argument?
They are both names of variables. A parameter is passed into the procedure, while an
argument is passed out of the procedure.
A parameter is the name of a variable, while an argument is the datatype of that variable.
A parameter is a variable that accepts a value that is passed to it, while an argument is
the value that is passed. (*)
There is no difference; parameters and arguments are the same thing.

2. What is the correct syntax to create procedure MYPROC that accepts two number
parameters X and Y?

CREATE PROCEDURE myproc (x NUMBER, y NUMBER) IS (*)


CREATE PROCEDURE (x NUMBER, y NUMBER) myproc IS
CREATE PROCEDURE myproc IS (x NUMBER, y NUMBER)
CREATE PROCEDURE IS myproc (x NUMBER, y NUMBER)

3. Which of the following can be used as an argument for a procedure parameter?

The name of a variable


A literal value
An expression

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 10/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
All of the above (*)
None of the above

4. A procedure has been created as:CREATE PROCEDURE myproc (p_left NUMBER,


p_right NUMBER) IS BEGIN .
You want to call the procedure from an anonymous block. Which of the following calls is
valid?
myproc(p_left, p_right);
myproc(v_left, v_right);
myproc(v_left, 30);
All of the above (*)

5. What is the purpose of using parameters with stored procedures?


They prevent the procedure from modifying data in the database.
They allow values to be passed between the calling environment and the procedure. (*)
They count the number of exceptions raised by the procedure.
They speed up the execution of the procedure.

6. Procedure SUBPROC was created as:CREATE PROCEDURE subproc (p_param


VARCHAR2) IS BEGIN
You invoke the procedure by:
DECLARE v_param VARCHAR2(20) := Smith; BEGIN subproc(v_param); END;
Which of the following is the actual parameter?

p_param
v_param (*)
Smith
None of the above

7. Which one of the following statements about formal and actual parameters is true?

Formal and actual parameters must have the same name.


Formal and actual parameters must have different names.
A formal parameter is declared within the called procedure, while an actual parameter is
declared in the calling environment. (*)
An actual parameter is declared within the called procedure.

8. Procedure TESTPROC accepts one parameter P1, whose value is up to 1000


characters in length. Which one of the following declares this parameter correctly?

CREATE PROCEDURE testproc (p1 VARCHAR2(100) )IS BEGIN .


CREATE PROCEDURE testproc IS p1 VARCHAR2(100); BEGIN .
CREATE PROCEDURE testproc DECLARE p1 VARCHAR2(100);BEGIN .
CREATE PROCEDURE testproc p1 VARCHAR2IS BEGIN .
CREATE PROCEDURE testproc (p1 VARCHAR2)ISBEGIN .(*)

9. You want to create a procedure which accepts a single parameter. The parameter is a
number with a maximum value of 9999.99. Which of the following is a valid declaration for
this parameter?

(v_num NUMBER(6,2))
(v_num NUMBER) (*)
(v_num)
(v_num NUMBER(4,2))

Selection 8 Lesson 3 : Passing Parameters

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 11/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
1. What are the three parameter modes for procedures?
IN, OUT, IN OUT (*)
R(ead), W(rite), A(ppend)
CONSTANT, VARIABLE, DEFAULT
COPY, NOCOPY, REF

2. If you dont specify a mode for a parameter, what is the default mode?
OUT
IN (*)
COPY
DEFAULT
R(ead)

3. Which of the following statements about IN OUT parameters are true? (Choose two.)
(Choose all correct answers)
The data type for the parameter must be VARCHAR2.
The parameter value passed into the subprogram is always returned unchanged to the
calling environment.
The parameter value can be returned as the original unchanged value. (*)
The parameter value can be returned as a new value that is set within the procedure. (*)

4. When creating a procedure, where in the code must the parameters be listed?
After the procedure name (*)
After the keyword IS or AS
Before the procedure name
After the keyword PROCEDURE
5. A procedure is invoked by this command:myproc(Smith,100,5000);
What is the method of passing parameters used here?

Positional (*)
Named
A combination of positional and named
None of the above

6. A procedure is invoked by this command:


myproc(Smith,salary=>5000);
What is the method of passing parameters used here?
Positional
Named
A combination of positional and named (*)
None of the above

7. Which kind of parameters cannot have a DEFAULT value?


OUT (*)
IN
CONSTANT
R(ead)
W(rite)

8. The following procedure has been created:


CREATE OR REPLACE PROCEDURE myproc
(p_p1 NUMBER, p_p2 VARCHAR2) IS BEGIN

Which one of the following calls to the procedure will NOT work?
myproc(80, Smith);
myproc(p_p1 => 80, Smith); (*)
myproc(80, p_p2 => Smith);
myproc(p_p1 => 80, p_p2 => Smith);

9. Three IN parameters for procedure ADD_EMPLOYEE are defined as:


(p_name VARCHAR2 , p_salary NUMBER := 1000,p_hired DATE DEFAULT SYSDATE)
The procedure is invoked by:
add_employee(Jones);
What is the value of P_SALARY when the procedure starts to execute?

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 12/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
NULL
1000 (*)
The procedure will not compile because P_SALARY should have been coded as
DEFAULT 1000
The call will fail because P_SALARY is a required parameter

10. What will happen when the following procedure is called as format_phone
(8005551234)?
CREATE OR REPLACE PROCEDURE format_phone
(p_phone_no IN OUT VARCHAR2)
ISBEGINp_phone_no :=
SUBSTR(p_phone_no,1,3) || . || SUBSTR(p_phone_no,4,3) || . ||
SUBSTR(p_phone_no,7);
END format_phone;

The phone number 800.555.1234 is printed to the screen.


The phone number (800) 555-1234 is printed to the screen.
The phone number 800.555.1234 is placed into the p_phone_no variable. (*)
The procedure does not execute because the input variable is not properly declared.

11. Procedure NUMPROC has been created as:


CREATE PROCEDURE numproc
(x NUMBER, y NUMBER := 100, z NUMBER)
IS BEGIN
.
You want to call the procedure, passing arguments of 10 for X and 20 for Z. Which one of
the following calls is correct?

numproc(10,,20);
numproc(x=10,z=20);
numproc(10,z=>20); (*)
numproc(x=>10,20);

Selection 9 Lesson 1 : Creating Functions

1. A stored function:
must have at least one IN parameter.
cannot be called in a SQL statement.
must return one and only one value. (*)
is called as a standalone executable statement.

2. A PL/SQL function can have IN OUT parameters. True or False?


True
False (*)

3. CREATE FUNCTION get_sal (p_id employees.employee_id%TYPE)


RETURN number
IS
v_sal employees.salary%TYPE := 0;BEGIN
SELECT salary INTO v_sal
FROM employees
WHERE employee_id = p_id;
RETURN v_sal;END get_sal;
Which variable is passed to the function and which variable is returned from the function?

GET_SAL is passed and V_SAL is returned.


SALARY is passed and P_ID is returned.
EMPLOYEE_ID is passed and SALARY is returned.
P_ID is passed and V_SAL is returned. (*)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 13/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
4. You have created a function called GET_COUNTRY_NAME which accepts a country_id
as an IN parameter and returns the name of the country. Which one of the following calls
to the function will NOT work?

v_name := get_country_name(100);
DBMS_OUTPUT.PUT_LINE(get_country_name(100));
SELECT get_country_name(100) FROM dual;
BEGIN get_country_name(100, v_name); END; (*)

5. The following function has been created:


CREATE OR REPLACE FUNCTION find_sal
(p_emp_id IN employees.employee_id%TYPE) RETURN NUMBER IS

We want to invoke this function from the following anonymous block:
DECLARE
v_mynum NUMBER(6,2);
v_mydate DATE;BEGIN

Line A END;
Which of the following would you include at Line A?

find_sal(100,v_mynum);
v_mynum := find_sal(100); (*)
v_mydate := find_sal(100);
find_sal(v_mynum,100);

6. Function GET_JOB accepts an employee id as input and returns that employees job id.
Which of the following calls to the function will NOT work?

DBMS_OUTPUT.PUT_LINE(get_job(100));
IF get_job(100) = IT_PROG THEN
get_job(100,v_job_id); (*)
v_job_id := get_job(100);

7. Function MYFUNC1 has been created, but has failed to compile because it contains
syntax errors. We now try to create procedure MYPROC1 which invokes this function.
Which of the following statements is true?

MYPROC1 will compile correctly, but will fail when it is executed.


MYPROC1 will compile and execute succesfully.
MYPROC1 will fail to compile because the function is invalid. (*)
MYPROC1 will compile and execute successfully, except that the call to MYFUNC1 will be
treated as a comment and ignored.

8. Which of the following is found in a function and not a procedure?

An exception section
IN parameters
Local variables in the IS/AS section
Return statement in the header (*)

9. Procedure p1 has a single OUT parameter of type DATE. Function f1 returns a DATE.
What is the difference between p1 and f1?

p1 can be invoked from an anonymous block but f1 cannot.


f1 can be used within a SQL statement but p1 cannot. (*)
p1 can have as many IN parameters as needed but f1 cannot have more than two IN
parameters.
There is no difference because they both return a single value of the same datatype.

10. What is wrong with the following code?


CREATE FUNCTION annual_comp
(sal employees.salary%TYPE,
comm_pct IN employees.commission%TYPE)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 14/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
RETURN NUMBER(5,2)ISBEGIN
RETURN (sal*12) + NVL(comm_pct,0)*12*sal;
END annual_comp;

The sal parameter should specify the IN keyword.


The RETURN NUMBER has a scale and precision. (*)
There should be parentheses () around the expression: NVL(comm_pct,0)*12*sal
The END; statement should not include the function name.

11. Based on the following function definition:Create function annual_comp (sal


employees.salary%type, comm_pct In employees.commission%type)
Which one of the following is an incorrect call for annual_comp?

Execute dbms_output.put_line(annual_comp (1000,.2));


Select employee_id, annual_comp(salary, commission_pct) from employees;
Declare
Ann_comp number (6,2);
Begin

Ann_comp := annual_comp(1000,.2);
End;

Select employee_id, annual_comp(salary) from employees; (*)

12. To create a function successfully, the following steps should be performed.A Re-
execute the code until it compiles correctly B Write the code containing the CREATE or
REPLACE FUNCTION followed by the function code C Test the function from a SQL
statement or an anonymous block D If the function fails to compile, correct the errors E
Load the code into Application Express F Execute the code in Application Express
What is the correct order to perform these steps?

B,E,F,D,A,C (*)
D,B,E,F,A,C
B,C,E,F,D,A
A,B,E,F,D,C

13. When using Invokers rights, the invoker needs privileges on the database objects
referenced within the subprogram, as well as GRANT privilege on the procedure. True or
False?

True
False (*)

14. What will happen when the following subprogram is compiled?


PROCEDURE at_proc IS
PRAGMA AUTONOMOUS_TRANSACTION;
dept_id NUMBER := 90; BEGIN
UPDATE
INSERT
END at_proc;

The subprogram will work without errors


The subprogram will fail because of an error in the SELECT statement. (*)
The subprogram will fail because the RETURN is not specified.
The program will compile successfully.

15. A function may execute more than one RETURN statement found in the body of that
function. True or False?

True
False (*)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 15/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul

Selection 9 Lesson 2 : Using Functions in SQL


Statements

1. Which of the following is NOT a benefit of user-defined functions?


They can add business rules to the database and can be reused many times.
They can be used in a WHERE clause to filter data.
They can do the same job as built-in system functions such as UPPER and ROUND. (*)
They can often be used inside SQL statements.

2. User-defined functions can extend the power of SQL statements where Oracle does not
provide ready-made functions such as UPPER and LOWER. True or False?
True (*)
False

3. Which of the following is NOT a legal location for a function call in a SQL statement?

FROM clause of a SELECT statement (*)


WHERE clause in a DELETE statement
SET clause of an UPDATE statement
VALUES clause of an INSERT statement

4. The following function has been created:


CREATE OR REPLACE FUNCTION upd_dept
(p_dept_id IN departments.department_id%TYPE)
RETURN NUMBER IS
BEGIN
UPDATE departments SET department_name = Accounting
WHERE department_id = p_dept_id;
RETURN p_dept_id;
END;

Which of the following will execute successfully?

DELETE FROM departments WHERE department_id = upd_dept(department_id);


SELECT upd_dept(department_id) FROM employees;
DELETE FROM employees WHERE department_id = upd_dept(80);(*)
SELECT upd_dept(80) FROM dual;

5. You want to create a function which can be used in a SQL statement. Which one of the
following can be coded within your function?

RETURN BOOLEAN
One or more IN parameters (*)
An OUT parameter
COMMIT;

6. Function DOUBLE_SAL has been created as follows: CREATE OR REPLACE


FUNCTION double_sal (p_salary IN employees.salary%TYPE) RETURN NUMBER IS
BEGIN RETURN(p_salary * 2); END; Which of the following calls to DOUBLE_SAL will
NOT work?

SELECT * FROM employees WHERE double_sal(salary) > 20000;


SELECT * FROM employees ORDER BY double_sal(salary) DESC;
UPDATE employees SET salary = double_sal(salary);
SELECT last_name, double_sal(salary) FROM employees;
None of the above; they will all work (*)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 16/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul

Selection 9 Lesson 3 : Review of Data Dictionary

1. Which of the following best describes the Data Dictionary?

It is a set of tables which can be updated by any user who has the necessary privileges.
It is an automatically managed master catalog of all the objects stored in the database. (*)
It contains a backup copy of all the data in the database.
It contains a list of all database tables which are not in any schema.

2. Which of the following is NOT a benefit of the Data Dictionary?


It allows us to remind ourselves of the names of our tables, in case we have fogotten
them.
It allows us to check which system privileges have been granted to us.
It will speed up the execution of SELECT statements in which the WHERE clause column
is not indexed. (*)
It allows the PL/SQL compiler to check for object existence; for example, when creating a
procedure which references a table, the PL/SQL compiler can check that the table exists.

3. User BOB is not a database administrator. BOB wants to see the names of all the
tables in his schema, as well as all the tables in other users schemas which he has
privileges to use. Which Data Dictionary view would BOB query to do this?

USER_TABLES
ALL_TABLES (*)
DBA_TABLES
USER_TAB_COLUMNS
None of the above

4. User MARY executes this SQL statement:


SELECT COUNT(*) FROM USER_VIEWS;
A value of 15 is returned. Which of the following statements is true?

There are 15 views in Marys schema. (*)


Mary has created views on 15 of her tables.
There are 15 views in the database.
Other users have granted Mary SELECT privilege on 15 of their views.

5. A user executes the following statement:


CREATE INDEX fn_index ON employees(first_name);
What output will the following statement now display:
SELECT index_name
FROM user_indexes
WHERE index_name LIKE fn%;
fn_index
FN_INDEX
fn_index FN_INDEX
No output will be displayed (*)

6. Which of the following will display how many objects of each type are in a users
schema?
SELECT COUNT(*) FROM user_objects;
SELECT object_type, COUNT(*)FROM user_objectsGROUP BY object_type;(*)

SELECT object_type, COUNT(*)FROM all_objectsGROUP BY object_type;


DESCRIBE user_objectsGROUP BY object_type;

7. Which of the following statements about the super-view DICTIONARY is true?


It lists all the dictionary views.
It can be thought of as a catalog of the master catalog.
We can use it like a Web search engine to remind ourselves of the names of dictionary

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 17/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
views.
All of the above (*)
None of the above

8. You have forgotten the name of the Dictionary view USER_TABLES. Which of the
following statements is the best and quickest way to remind yourself?
SELECT * FROM dictionary WHERE table_name = USER%;
Read the online Oracle documentation at http://technet.oracle.com.
SELECT * FROM dict WHERE table_name LIKE USER%TAB%;(*)
SELECT * FROM dictionaryWHERE table_name = USER_TABLES;
Phone the database administrator.

Selection 9 Lesson 4 : Managing Procedures


and Functions

1. proc_a has been created as follows:


CREATE OR REPLACE PROCEDURE proc_a IS
v_last_name employees.last_name%TYPE;
BEGIN
SELECT last_name INTO v_last_name FROM employees
WHERE employee_id = 999;
/* This SELECT will raise an exception because employee_id 999 does not exist */
DBMS_OUTPUT.PUT_LINE(This SELECT failed);
END;

proc_b is now created as follows:


CREATE OR REPLACE PROCEDURE proc_b IS
BEGIN
proc_a;
DBMS_OUTPUT.PUT_LINE(proc_a was invoked);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(An exception occurred);
END;

What will be displayed when proc_b is executed?

An exception occurred(*)
This SELECT failed proc_a was invoked An exception occurred
This SELECT failed
This SELECT failed proc_a was invoked
Nothing will be displayed

2. Procedure ins_emp accepts an employee_id as an IN parameter and attempts to insert


a row with that employee_id into the EMPLOYEES table. Ins_emp does not contain an
exception section. A second procedure is created as follows:
CREATE OR REPLACE PROCEDURE call_ins_emp IS
BEGIN
ins_emp(99); this employee does not exist
ins_emp(100); this employee already exists
ins_emp(999); this employee does not exist
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(An exception occurred);
END;
When call_ins_emp is executed, assuming AutoCommit is turned on, which rows will be
inserted into the EMPLOYEES table?

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 18/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
99 only (*)
99 and 999
All three rows will be inserted
999 only
No rows will be inserted

3. The database administrator has granted the DROP ANY PROCEDURE privilege to
user KIM. This allows Kim to remove other users procedures and functions from the
database. How would Kim now drop function GET_EMP, which is owned by user
MEHMET?

DROP FUNCTION get_emp FROM mehmet


DROP FUNCTION mehmet.get_emp (*)
DROP PROCEDURE mehmet.get_emp
DROP PROGRAM mehmet.get_emp
None of the above

4. You need to remove procedure BADPROC from your schema. What is the correct
syntax to do this?

DELETE PROCEDURE badproc;


DROP PROGRAM badproc;
ALTER PROCEDURE badproc DISABLE;
DROP PROCEDURE badproc; (*)

5. Which view would you query to see the detailed code of a procedure?

user_source (*)
user_procedures
user_objects
user_dependencies
user_errors

6. Which dictionary view will list all the PL/SQL subprograms in your schema?

user_source
user_procedures
user_objects (*)
user_dependencies
user_subprograms

Selection 9 Lesson 5 : Review of Object


Privileges

1. User SVETLANA creates a view called EMP_VIEW that is based on a SELECT from
her EMPLOYEES table. Svetlana now wants user PHIL to be able to query the view. What
is the smallest set of object privileges that Svetlana must grant to Phil?
SELECT on EMP_VIEW and SELECT on EMPLOYEES
SELECT and EXECUTE on EMP_VIEW
SELECT on EMP_VIEW (*)
SELECT on EMP_VIEW and REFERENCES on EMPLOYEES

2. User COLLEEN owns an EMPLOYEES table and wants to allow user AYSE to create
indexes on the table. Which object privilege must Colleen grant to Ayse?

SELECT on EMPLOYEES
INDEX on EMPLOYEES (*)
ALTER on EMPLOYEES

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 19/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
CREATE on EMPLOYEES
None of the above

3. User FRED creates a procedure called DEL_DEPT using Definers Rights, which
deletes a row from Freds DEPARTMENTS table. What privilege(s) will user BOB need to
be able to execute Freds procedure?

EXECUTE on DEL_DEPT (*)


EXECUTE on DEL_DEPT and DELETE on DEPARTMENTS
EXECUTE on DEL_DEPT and DELETE on FRED.DEPARTMENTS
DELETE on FRED.DEPARTMENTS

4. USERB creates a function called SEL_PROC (using Definers Rights) which includes
the statement:
SELECT FROM usera.employees ;
USERC needs to execute UserBs procedure. What privileges are needed for this to work
correctly? (Choose two.)

(Choose all correct answers)

UserB needs SELECT on userA.employees (*)


UserC needs SELECT on userA.employees
UserC needs EXECUTE on userB.sel_proc (*)
UserA needs EXECUTE on userB.sel_proc
UserC needs EXECUTE on Userb

5. User DIANE owns a DEPARTMENTS table. User JOEL needs to update the location_id
column of Dianes table, but no other columns. Which SQL statement should Diane
execute to allow this?

GRANT UPDATE ON departments TO joel;


GRANT UPDATE ON departments(location_id) TO joel;
GRANT UPDATE ON departments.location_id TO joel;
GRANT UPDATE(location_id) ON departments TO joel; (*)
GRANT UPDATE ON location_id OF departments TO joel;

6. User TOM needs to grant both SELECT and INSERT privileges on both his
EMPLOYEES and DEPARTMENTS tables to both DICK and HARRY. What is the smallest
number of GRANT statements needed to do this?

1
2 (*)
3
4
8

Selection 9 Lesson 6 : Using Invokers Rights


and Autonomous Transactions

1. Procedure GET_EMPS includes a SELECTFROM EMPLOYEES. The procedure was


created using Invokers Rights. Which of the following statements are true? (Choose
three.)

(Choose all correct answers)


The user who executes the procedure needs EXECUTE privilege on the procedure. (*)
The creator of the procedure needs SELECT privilege on EMPLOYEES. (*)
The user who executes the procedure does not need any privileges.
The user who executes the procedure needs SELECT privilege on EMPLOYEES. (*)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 20/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
2. Which of the following is the correct syntax to create a procedure using Invokers
Rights?
CREATE PROCEDURE myproc IS AUTHID CURRENT_USER BEGIN
CREATE PROCEDURE myproc AUTHID CURRENT_USER ISBEGIN (*)

CREATE PROCEDURE AUTHID CURRENT_USER myproc IS BEGIN


CREATE PROCEDURE myproc IS BEGIN AUTHID CURRENT_USER

3. User SALLYs schema contains a NEWEMP table. Sally uses Invokers rights to create
procedure GET_NEWEMP which includes the line:
SELECT FROM NEWEMP ;
Sally also grants EXECUTE privilege on the procedure to CURLY, but no other privileges.
What will happen when Curly executes the procedure?

The procedure will execute successfully.


The procedure will fail because Curly does not have SELECT privilege on NEWEMP.
The procedure will fail because there is no NEWEMP table in Curlys schema. (*)
The procedure will fail because Curly does not have the EXECUTE ANY PROCEDURE
system privilege.

4. Users SYS (the DBA), TOM, DICK, and HARRY each have an EMPLOYEES table in
their schemas. SYS creates a procedure DICK.SEL_EMP using Invokers Rights which
contains the following code:SELECT FROM EMPLOYEES ;
HARRY now executes the procedure. Which employees table will be queried?

SYS.EMPLOYEES
DICK.EMPLOYEES
HARRY.EMPLOYEES (*)
None of the above

5. When using Invokers rights, the invoker needs privileges on the database objects
referenced within the subprogram, as well as GRANT privilege on the procedure. True or
False?
True
False (*)

6. Which statement is true regarding the following subprogram?


PROCEDURE at_proc IS
PRAGMA AUTONOMOUS_TRANSACTION;
dept_id NUMBER := 90;
BEGIN
UPDATE
INSERT
COMMIT;
END at_proc;

The subprograms success depends on the calling program.


The subprogram will fail because the RETURN is not specified.
The subprograms success is independent of the calling program. (*)
The subprogram cannot do a COMMIT.

7. An autonomous transaction subprogram may be in a the same package as the calling


subprogram or may be in a separate subprogram. True or False?
True
False (*)

Tags: #Answer Sertifikasi PLSQL (https://code-erul.xyz/tag/answer-sertifikasi-plsql/)


#Jawaban Ujian PLSQL (https://code-erul.xyz/tag/jawaban-ujian-plsql/) #PL/SQL
(https://code-erul.xyz/tag/plsql/) #PLSQL Oracel Academy (https://code-
erul.xyz/tag/plsql-oracel-academy/) #PLSQL Oracle (https://code-erul.xyz/tag/plsql-
oracle/)

(https://code-erul.xyz/answer-plsql-semester-1-mid-term-exam-part-ii/)

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 21/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul

Facebook (//www.facebook.com/sharer/sharer.php?u=https://code-erul.xyz/answer-plsql-
oracle-academy-2017-selection-6-
10/&t=Answer%20PL%2FSQL%20Oracle%20Academy%202017%20Selection%206%20-
%209)

Twitter (//twitter.com/home?
status=Answer%20PL%2FSQL%20Oracle%20Academy%202017%20Selection%206%20-
%209%20-%20https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/)

Pin it (//pinterest.com/pin/create/button/?url=https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/&media=https://code-erul.xyz/wp-con
Defined%20Records%20%26nbsp%3B%201.%20The%20following%20code%20declares%20a%20PL%2FSQL%20record%20with%20the%20same%20st

... (https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-10-13/)

Author: codeerul (https://code-erul.xyz/author/codeerul/)

Related Post "Answer PL/SQL Oracle Academy 2017 Selection 6 9"

Answer PL/SQL Oracle Academy 2017 Selection 14 15 (https://code-erul.xyz/answer-plsql-oracle-


academy-2017-selection-14-15/)
Answer PL/SQL Oracle Academy 2017 Selection 14
(https://code-
erul.xyz/answer-
plsql-oracle-
academy-2017-
selection-14-
15/)

Answer PL/SQL Oracle Academy 2017 Selection 10 13 (https://code-erul.xyz/answer-plsql-oracle-


academy-2017-selection-10-13/)
Answer PL/SQL Oracle Academy 2017 Selection 10
(https://code-
erul.xyz/answer-
plsql-oracle-
academy-2017-
selection-10-
13/)

Answer PLSQL Semester 1 Mid Term Exam Part II (https://code-erul.xyz/answer-plsql-semester-1-


mid-term-exam-part-ii/)
PLSQL Semester 1 Mid Term Exam
(https://code-
erul.xyz/answer-
plsql-semester-
1-mid-term-
exam-part-ii/)

Answer PL/SQL Selection 1 5 (https://code-erul.xyz/answer-plsql-all-selection/)


Section 1 Lesson 1: Introduction to PL/SQL

(https://code-
erul.xyz/answer-
plsql-all-
selection/)

Comments FB Comments

Comments are closed.

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 22/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul

(http://minum_ini_sebelum_tidur_kamu_akan_kaget) (http://bagaimana_cara_ngentot_cewek_hingga_dia) (http://metode_memperbesar_penis_di_rumah_


Minum INI sebelum tidur. Kamu akan kaget saat lemak Bagaimana cara ngentot cewek hingga dia orgasme 5 Metode memperbesar penis di rumah! Ternyata sang
hilang di pagi hari! Resep kali/malam? PELAJARAN SEKS! mudah!
(http://minum_ini_sebelum_tidur_kamu_akan_kaget) (http://bagaimana_cara_ngentot_cewek_hingga_dia) (http://metode_memperbesar_penis_di_rumah_mud

Most Popular

Jawaban Sertifikasi Oracle Database Desain 2017 Part 5 (https://code-erul.xyz/answer-sertifikasi-oracle-


database-desain-2017-part-5/)
(https://code-
erul.xyz/answer-
sertifikasi-
oracle-
database-
desain-
2017-
part-
5/)
Jawaban CCNA 2 Chapter 9 Exam 2017 (https://code-erul.xyz/answer-ccna-2-chapter-9-exam-2017/)
(https://code-
erul.xyz/answer-
ccna-
2-
chapter-
9-
exam-
2017/)
Jawaban CCNA 2 Chapter 5 Exam 2017 (https://code-erul.xyz/answer-ccna-2-chapter-5-exam-2017/)

(https://code-
erul.xyz/answer-
ccna-
2-
chapter-
5-
exam-
2017/)
Jawaban CCNA 2 Chapter 3 Exam 2017 (https://code-erul.xyz/answer-ccna-2-chapter-3-exam-2017/)
(https://code-
erul.xyz/answer-
ccna-
2-
chapter-
3-
exam-
2017/)
Jawaban Sertifikasi Oracle Database Desain 2017 (https://code-erul.xyz/answer-sertifikasi-oracle-database-
desain-2017/)
(https://code-
erul.xyz/answer-
sertifikasi-
oracle-
database-
desain-
2017/)

(http://www.histats.com/viewstats/?sid=3618423&ccid=601)

New Post

Answer PL/SQL Oracle Academy 2017 Selection 14 15 (https://code-erul.xyz/answer-plsql-oracle-academy-


2017-selection-14-15/)
(https://code-
erul.xyz/answer-
plsql-
oracle-
academy-
2017-
selection-

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 23/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
14-
15/)
Answer PL/SQL Oracle Academy 2017 Selection 10 13 (https://code-erul.xyz/answer-plsql-oracle-academy-
2017-selection-10-13/)
(https://code-
erul.xyz/answer-
plsql-
oracle-
academy-
2017-
selection-
10-
13/)
Answer PL/SQL Oracle Academy 2017 Selection 6 9 (https://code-erul.xyz/answer-plsql-oracle-academy-
2017-selection-6-10/)
(https://code-
erul.xyz/answer-
plsql-
oracle-
academy-
2017-
selection-
6-10/)
Answer PLSQL Semester 1 Mid Term Exam Part II (https://code-erul.xyz/answer-plsql-semester-1-mid-
term-exam-part-ii/)
(https://code-
erul.xyz/answer-
plsql-
semester-
1-mid-
term-
exam-
part-
ii/)
Answer PL/SQL Selection 1 5 (https://code-erul.xyz/answer-plsql-all-selection/)

(https://code-
erul.xyz/answer-
plsql-
all-
selection/)

Contact US (https://code-erul.xyz/contact-us/) | Privacy Policy (https://code-erul.xyz/privacy-policy/) | Disclaimer


(https://code-erul.xyz/disclaimer/)

2017 Powered by Cangkir Host (https://cangkirhost.net)

(https://code-erul.xyz/search/java-fundamentals-midterm-exam) (https://code-erul.xyz/search/java-fundamentals-final-
exam) (https://code-erul.xyz/search/java-fundamentals-quiz-answers) (https://code-erul.xyz/search/java-fundamentals-
midterm-exam-answer) (https://code-erul.xyz/search/java-fundamentals-final-exam-answers) (https://code-
erul.xyz/search/java-fundamentals-oracle-academy) (https://code-erul.xyz/search/java-fundamentals-pdf) (https://code-
erul.xyz/search/java-fundamentals-for-android-development-pdf) (https://code-erul.xyz/search/java-fundamentals-
certification) (https://code-erul.xyz/search/java-fundamentals-final-exam-oracle-academy) (https://code-
erul.xyz/search/java-fundamentals-for-android-development) (https://code-erul.xyz/search/java-fundamentals-livelessons)
(https://code-erul.xyz/search/java-fundamentals-oracle) (https://code-erul.xyz/search/java-fundamentals-video-tutorial)
(https://code-erul.xyz/search/java-fundamentals-part-iii-second-edition) (https://code-erul.xyz/search/java-fundamentals-
programming) (https://code-erul.xyz/search/java-fundamentals-ppt) (https://code-erul.xyz/search/java-fundamentals-
tutorial) (https://code-erul.xyz/search/java-fundamentals-interview-questions) (https://code-erul.xyz/search/java-
fundamentals-a-comprehensive-introduction) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-
introduction-by-herbert-schildt-and-dale-skrien) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-
introduction-pdf) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-introduction-pdf-download)
(https://code-erul.xyz/search/java-fundamentals-android) (https://code-erul.xyz/search/java-fundamentals-a-
comprehensive-introduction-by-herbert-schildt) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-
introduction-by-herbert-schildt-pdf) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-introduction-by-
herbert-schildt-free-download) (https://code-erul.xyz/search/java-fundamentals-answers) (https://code-
erul.xyz/search/java-fundamentals-a-comprehensive-introduction-by-herbert-schildt-pdf-free-download) (https://code-
erul.xyz/search/java-fundamentals-a-comprehensive-introduction-pdf-free-download) (https://code-erul.xyz/search/java-
fundamentals-amazon) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-introduction-by-herbert-schildt-
pdf-download) (https://code-erul.xyz/search/java-fundamentals-a-comprehensive-introduction-ppt) (https://code-
erul.xyz/search/java-fundamentals-a-comprehensive-introduction-by-herbert-schildt-ppt) (https://code-erul.xyz/search/java-
fundamentals-a-comprehensive-introduction-download) (https://code-erul.xyz/search/java-fundamentals-book)
(https://code-erul.xyz/search/java-fundamentals-by-durga) (https://code-erul.xyz/search/java-fundamentals-book-pdf)
(https://code-erul.xyz/search/java-fundamentals-by-herbert-schildt) (https://code-erul.xyz/search/java-fundamentals-by-
herbert-schildt-pdf) (https://code-erul.xyz/search/java-fundamentals-by-schildt) (https://code-erul.xyz/search/java-

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 24/25
7/10/2017 Answer PL/SQL Oracle Academy 2017 Selection 6 9 | Code Erul
fundamentals-by-e.-balagurusamy) (https://code-erul.xyz/search/java-basic-fundamentals) (https://code-
erul.xyz/search/java-basic-fundamentals-pdf) (https://code-erul.xyz/search/java-bytecode-fundamentals) (https://code-
erul.xyz/search/java-5-fundamentals-brainbench-test) (https://code-erul.xyz/search/java-se7-fundamentals-books)
(https://code-erul.xyz/search/java-fundamentals-for-beginners) (https://code-erul.xyz/search/core-java-fundamentals-by-
rashmi-kanta-das-pdf) (https://code-erul.xyz/search/java-2-fundamentals-brainbench-answers) (https://code-
erul.xyz/search/core-java-fundamentals-book) (https://code-erul.xyz/search/java-programming-fundamentals-book)
(https://code-erul.xyz/search/java-fundamentals-for-beginners-pdf) (https://code-erul.xyz/search/java-fundamentals-for-big-
data) (https://code-erul.xyz/search/java-2-fundamentals---brainbench-assessment---awareness) (https://code-
erul.xyz/search/java-fundamentals-course) (https://code-erul.xyz/search/java-fundamentals-chapter-2) (https://code-
erul.xyz/search/java-fundamentals-concepts) (https://code-erul.xyz/search/java-fundamentals-classes) (https://code-
erul.xyz/search/java-fundamentals-course-london) (https://code-erul.xyz/search/java-fundamentals-chapter-2-pdf)
(https://code-erul.xyz/search/java-fundamentals-cheat-sheet) (https://code-erul.xyz/search/java-fundamentals-course-uk)
(https://code-erul.xyz/search/java-fundamentals-channel-9) (https://code-erul.xyz/search/java-core-fundamentals)
(https://code-erul.xyz/search/java-basics-coding) (https://code-erul.xyz/search/java-fundamentals-training-course)
(https://code-erul.xyz/search/java-core-basics) (https://code-erul.xyz/search/java-fundamental-classes-reference)
(https://code-erul.xyz/search/java-fundamental-concepts-ppt) (https://code-erul.xyz/search/java-fundamental-concepts-pdf)
(https://code-erul.xyz/search/java-collections-fundamentals) (https://code-erul.xyz/search/java-core-fundamentals-pdf)
(https://code-erul.xyz/search/java-core-fundamentals-volume-1) (https://code-erul.xyz/search/java-fundamentals-deitel)
(https://code-erul.xyz/search/java-fundamentals-developer) (https://code-erul.xyz/search/java-fundamentals-download)
(https://code-erul.xyz/search/java-fundamentals-deitel-download) (https://code-erul.xyz/search/java-fundamentals-
developer-cibertec) (https://code-erul.xyz/search/java-fundamentals-ebook-download) (https://code-erul.xyz/search/java-
fundamentals-pdf-free-download) (https://code-erul.xyz/search/java-fundamental-data-types) (https://code-
erul.xyz/search/java-design-fundamentals) (https://code-erul.xyz/search/java-fundamentals-pdf-download) (https://code-
erul.xyz/search/java-se7-fundamentals-download) (https://code-erul.xyz/search/pluralsight-java-fundamentals-download)
(https://code-erul.xyz/search/java-7.0-fundamentals-developer) (https://code-erul.xyz/search/java-web-fundamentals-
download) (https://code-erul.xyz/search/java-fundamentals-free-download) (https://code-erul.xyz/search/java-
fundamentals-for-androidtm-development) (https://code-erul.xyz/search/java-fundamentals-ebook-free-download)
(https://code-erul.xyz/search/java-8-the-fundamentals-download) (https://code-erul.xyz/search/java-fundamentals-i-and-ii)
(https://code-erul.xyz/search/java-fundamentals-i-and-ii-livelesson) (https://code-erul.xyz/search/java-fundamentals-
interview-questions-answers) (https://code-erul.xyz/search/java-fundamentals-i-and-ii-livelesson-download) (https://code-
erul.xyz/search/java-fundamentals-interview-questions-pdf) (https://code-erul.xyz/search/java-fundamentals-i-ii-iii-and-iv-
livelessons) (https://code-erul.xyz/search/java-fundamentals-indiabix) (https://code-erul.xyz/search/java-fundamentals-i-
and-ii-livelesson-(video-training)-(downloadable-version)) (https://code-erul.xyz/search/java-fundamentals-i-and-ii-
livelesson-free-download) (https://code-erul.xyz/search/java-fundamentals-i-and-ii-livelesson-(2011)) (https://code-
erul.xyz/search/java-fundamentals-i-and-ii-livelesson-video-training-download) (https://code-erul.xyz/search/java-
fundamentals-introduction) (https://code-erul.xyz/search/java-fundamentals-iv) (https://code-erul.xyz/search/java-
fundamentals-i-ii-iii-and-iv-livelessons-(sneak-peek-video-training)) (https://code-erul.xyz/search/java-fundamentals-
informit) (https://code-erul.xyz/search/java-fundamentals-i-and-ii-download) (https://code-erul.xyz/search/java-
fundamentals-exam) (https://code-erul.xyz/search/java-fundamentals-examples) (https://code-erul.xyz/search/java-
fundamentals-for-android) (https://code-erul.xyz/search/java-fundamentals-final-exam-answer) (https://code-
erul.xyz/search/java-fundamentals-for-network-engineers) (https://code-erul.xyz/search/java-fundamentals-for-non-c-
programmers) (https://code-erul.xyz/search/java-fundamentals-for-hadoop) (https://code-erul.xyz/search/java-
fundamentals-for-selenium) (https://code-erul.xyz/search/java-fundamentals-for-interview) (https://code-
erul.xyz/search/java-fundamentals-for-absolute-beginners) (https://code-erul.xyz/search/oracle-java-fundamentals-final-
exam-answers) (https://code-erul.xyz/search/test-java-fundamentals-final-exam) (https://code-erul.xyz/search/java-
fundamentals-gary-marrer) (https://code-erul.xyz/search/java-generics-fundamentals) (https://code-erul.xyz/search/java-
gui-fundamentals) (https://code-erul.xyz/search/java-graphics-fundamentals) (https://code-erul.xyz/search/java-
programming-fundamentals-student-guide) (https://code-erul.xyz/search/java-se7-fundamentals-study-guide) (https://code-
erul.xyz/search/java-se7-fundamentals-student-guide) (https://code-erul.xyz/search/java-fundamentals-herbert-schildt-pdf)
(https://code-erul.xyz/search/java-fundamentals-herbert-schildt) (https://code-erul.xyz/search/java-fundamentals-
horstmann) (https://code-erul.xyz/search/java-fundamentals-herbert-schildt-ppt) (https://code-erul.xyz/search/core-java-
fundamentals-horstmann-pdf) (https://code-erul.xyz/search/core-java-fundamentals-horstmann) (https://code-
erul.xyz/search/java-fundamentals-in-pdf) (https://code-erul.xyz/search/core-java-i-fundamentals) (https://code-
erul.xyz/search/fundamentals-in-java-programming) (https://code-erul.xyz/search/livelessons---java-fundamentals-part-iii-
second-edition) (https://code-erul.xyz/search/java-io-fundamentals) (https://code-erul.xyz/search/java-fundamentals-part-i-
second-edition) (https://code-erul.xyz/search/java-fundamentals-part-iv-second-edition) (https://code-erul.xyz/search/java-
fundamentals-part-ii-second-edition) (https://code-erul.xyz/search/core-java-fundamentals-interview-questions)
(https://code-erul.xyz/search/java-fundamentals-part-iii) (https://code-erul.xyz/search/livelessons-java-fundamentals-iii)
(https://code-erul.xyz/search/jawaban-java-fundamentals-midterm-exam) (https://code-erul.xyz/search/jawaban-java-
fundamentals-final-exam) (https://code-erul.xyz/search/jawaban-java-fundamentals) (https://code-erul.xyz/search/java-jvm-
fundamentals) (https://code-erul.xyz/search/java-j2ee-fundamentals) (https://code-erul.xyz/search/java-fundamentals-
(java-se-7)) (https://code-erul.xyz/search/java-fundamentals-kurs) (https://code-erul.xyz/search/java-8-the-fundamentals-
kindle-edition-pdf) (https://code-erul.xyz/search/java-8-the-fundamentals-kindle-edition) (https://code-erul.xyz/search/java-

https://code-erul.xyz/answer-plsql-oracle-academy-2017-selection-6-10/ 25/25

Anda mungkin juga menyukai