Free Oracle 1Z0-050 Exam Dumps Questions & Answers
| Exam Code/Number: | 1Z0-050Join the discussion |
| Exam Name: | Oracle Database 11g: New Features for Administrators |
| Certification: | Oracle |
| Free Question Number: | 183 |
| Publish Date: | Aug 06, 2026 |
| # of views: | 3069 |
|
|
|
The INVJHISTORY table is created using the command:
SQL>CREATE TABLE INV_HISTORY
(inv_no NUMBER(3),
inv_date DATE,
inv_amtNUMBER(10,2))
partition by range (inv_date)
interval (numtoyminterval(1 ,'month'))
(partition pO values less than (to_date(l01-01-2005llldd-mm-yyyy1)),
partition p1 values less than (to_date('01-01-2006','dd-mm-yyyy')));
The following data has been inserted into the INVJHISTORY table :
INV_NO INV_DATE INV_AMT
1 30-dec-2004 1000
2 30-dec-2005 2000
3 1-feb-2006 3000
4 1-mar-2006 4000
5 1-apr-2006 5000
You would like to store the data belonging to the year 2006 in a single partition and issue the command:
SQL> ALTER TABLE inv_history MERGE PARTITIONS FOR(TO_DATE(l15-feb-2006l,ldd-mon-yyyy,)),FOR(TO_DATE(l15-apr-20061))
INTO PARTITION sys_py;
What would be the outcome of this command?
Observe the following warning in an RMAN session of your database instance:
WARNING: new failures were found since last LIST FAILURE command
Which statement describes the scenario that must have produced this warning?
Evaluate the following function code:
CREATE FUNCTION get_dept_avg(dept_id NUMBER)
RETURN NUMBER
RESULT_CACHE RELIES_ON (EMPLOYEES)
IS
avgsal NUMBER(6);
BEGIN
SELECT AVG(SAU\RY)INTO avgsal
FROM EMPLOYEES
WHERE DEPARTMENTJD = dept_id;
RETURN avgsal;
END get_dept_avg;
Which statement is true regarding the above function?