AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-001





Question ID 8188

As a DBA you have just created a user account for employee Smith by using the create user command. Smith should be able to create tables and packages in his schema. Which command will the DBA need to execute next so that Smith can perform his task successfully?

Option A

GRANT CREATE TABLE, CREATE PACKAGE TO smith;

Option B

GRANT CREATE TABLE, CREATE PROCEDURE TO smith;

Option C

GRANT CREATE SESSION,CREATE TABLE,CREATE PROCEDURE TO smith;

Option D

GRANT CREATE CONNECT,CREATE TABLE,CREATE PROCEDURE TO smith;

Correct Answer C
Explanation Explanation/Reference: Explanation : Answers C is correct because to be able to connect user needs to have CREATE SESSION privilege, to create table, packages and procedures he needs CREATE TABLE and CREATE PROCEDURE privileges. Incorrect Answers: A: User will not be able to connect without CREATE SESSION privilege. B: User will not be able to connect without CREATE SESSION privilege. D: CREATE CONNECT privilege does not exist in Oracle Oracle 8, DBA Certification Exam Guide, Jason S. Couchman, p. 177-179 Chapter 4: Creating Other Database Objects in Oracle


Question ID 8189

The EMP table contains columns to hold the birthdate and the hire date of the employees. Both of these columns are defined with date as their data type. You want to insert a row with the details of the employee Smith who was born in 1944 and hired in 2004. Which statement will ensure that values are inserted into the table in the correct century?

Option A

INSERT INTO EMP(empno,ename,birthdate,hiredate) VALUES(EMPNO_SEQ.NEXTVAL, 'Smith', '12-dec-44', '10-jun-04' )

Option B

INSERT INTO EMP(empno,ename,birthdate,hiredate) VALUES(EMPNO_SEQ.NEXTVAL, 'Smith', TO_DATE('12-dec-44', 'DD-MON-RR'), TO_DATE('10-jun-04', 'DD-MON-RR'));

Option C

INSERT INTO EMP(empno,ename,birthdate,hiredate) VALUES(EMPNO_SEQ.NEXTVAL, 'Smith', TO_DATE('12-dec-44', 'DD-MON-YY'), '10-jun-04');

Option D

INSERT INTO EMP(empno,ename,birthdate,hiredate) VALUES(EMPNO_SEQ.NEXTVAL, 'Smith', TO_DATE('12-dec-44', 'DD-MON-YY'), TO_DATE('10-jun-04', 'DD-MON-YY'));

Correct Answer D
Explanation Explanation/Reference: Explanation: Answers D is correct because it uses correct mask inside TO_DATE functions to convert character data into date data. Incorrect Answers: A: This INSERT statement does not use TO_DATE functions to convert character data into date data at all. B: This INSERT statement does not use TO_DATE functions to convert character data into date data correctly. C: This INSERT statement does not use TO_DATE functions to convert character data into date data at correctly. Oracle 8, DBA Certification Exam Guide, Jason S. Couchman, p. 31-33 Chapter 1: Selecting Data from Oracle

Send email to admin@getfreedumps for new dumps request!!!