Examine the structure of the EMPLOYEES table: Which INSERT statement is valid?
A.
INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (
1000, ‘John’, ‘Smith’, 01-Jan-01);
B.
INSERT INTO employees(employee_id, first_name, last_name, Hire_date) VALUES (
1000, ‘John’, ‘Smith’, To_date(‘01/01/01’));
C.
INSERT INTO employees (employee_id, first_name, last_name, hire_date) VALUES (
1000, ‘John’, ‘Smith’, ‘01/01/01’);
D.
INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (
1000, ‘John’, ‘Smith’, ’01 January 01’);
then in “a” it should have ’01-Jan-01′
you are right Trinux
why B doesn’t work?
select to_date(’01/02/01′) from dual
__
TO_DATE(’01/02/01′)
——————-
01.02.01
select to_date(’01/01/01′) from dual
*
ERROR at line 1:
ORA-01843: not a valid month
D is the right answer, A if the date was in ’01-Jan-01′
Yup! You’re right..! Answer is Alone D else result in error.!
Cleared Oracle Database 11g 1Z0-051 exam last weekend!
Scored 90%! (The passing score is 60%)
There were 64 questions in my actual 1Z0-051 test.
Many questions on SQL statements (Examine, Evaluate…etc.), Manipulating Data (Insert, Update, Delete), Using DDL Statements to Create and Manage Tables.
Also, please pay close attention to questions on Reporting Aggregated Data Using the Group Functions, Using Subqueries to Solve Queries, Creating Schema Objects, a little difficult!
I mainly learned the PassLeader 1Z0-051 dumps (http://www.passleader.com/1z0-051.html) (303q VCE and PDF), all questions were from it, and many wrong answers have been corrected in it, the most valid 1Z0-051 dumps! DO RECOMMEND!!
By the way, part of that 303q 1Z0-051 dumps are available here:
http://www.oraclebraindump.com/?s=1z0-051
(
p.s. More 1Z0-051 exam questions on Google Drive:
drive.google.com/open?id=0B-ob6L_QjGLpWXpBUEhyRnVXVlE
)
Good Luck!!!
B
I think you are wrong.