While inserting 10 rows using procedure, if 3rd entry is
having some error, what will be the output? How u will
handle that error?
Answer Posted / radha sri seshu.kolla
WHEN YOU TRAP THE ERROR TILL THAT ROW THE ROWS WILL BE
INSERTED SUCCESSFULLY
IF YOU DONT HANDLE THE ERROR NO ROWS WILL BE INSERTED.
IF YOU ISSUE COMMIT AFTER EACH ROW THE FIRST TWO ROWS WILL
BE INSERTED SUCCESSSFULLY
IF YOU ISSUE COMMIT AT THE END NO ROWS WILL BE INSERTED
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What are the types of dbms?
what is a table in a database ? : Sql dba
What are local and global Indexes and where they are useful.
What is a system versioned table?
Explain raise_application_error.
How to create an array in pl/sql?
Why do we need view in sql?
Explain what is a subquery ?
What is a sql statement?
what is an alias command? : Sql dba
How to write html code in pl sql?
Why do we need cursor in pl sql?
What is anonymous block in sql?
What is $$ in sql?
How do I send sql query results to excel?