Which three definitions are associated with implicit cursors?
%rowtype, %toomanyrows, %found
%found, %notfound, %rowcount
%rowtype, %rowcount, %notfound
None of the above
Which command will delete all data from a table and will not write to the rollback segment?
DROP
DELETE
TRUNCATE
CASCADE
Which character is used to continue a statement in SQL*Plus?
*
/
-
@
Assuming today is Monday, 10 July 2000, what is returned by this statement: SELECT to_char(NEXT_DAY(sysdate, 'MONDAY'), 'DD-MON-RR') FROM dual;
17-JUL-00
11-JUL-00
09-JUL-00
03-JUL-00
SELECT NULLIF('testing','testing') FROM DUAL ;
testing
True
null
error
SELECT NULLIF(NULL,'testing') FROM DUAL ;
SELECT NVL2(null,'second','third') FROM DUAL ;
second
third
SELECT NVL2('first','second','testing') FROM DUAL ;
SELECT NVL(null,'testing') FROM DUAL ;
False
select decode('a','b','value-b','d','value-d','a','value-a','NA') result from dual;
NA
value-d
value-b
value-a