Question: ( R . Points ) Error Detection and Database Protection A Leamine Outcome witi Detabese Taning and Understand frror Detection . Bolnts ) Let us

(R. Points) Error Detection and Database Protection
A Leamine Outcome witi
Detabese Taning and Understand frror Detection .
Bolnts) Let us consider the following Orade Database script!
create table source_emp (emp,_id number primary key,
last_name varchar2(30), first_name varchar2(30));
insert into source_emp values (1,'Robete','Diana'):
Insert into source_emp values (2,, 'Diana');
insert into source_emp values (3,'Simith','John');
create table target_emp ( emp_id number primary key,
last_name varchar2(30) not null, first_name varchar2(30) not null);
Explain why Insert into target_emp select * from source_ emp; causes an error?
(b)(4 Points) How do you deal with the above error message using DBMS_ERRLOG package and "log errors" dause?
 (R. Points) Error Detection and Database Protection A Leamine Outcome witi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!