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


Please Help Members By Posting Answers For Below Questions

How do I save the results of sql query in a file?

711


Is it possible to update views?

713


What is an inconsistent dependency?

764


How to add a column ‘salary’ to a table employee_details?

774


What is sql injection owasp?

727






How to Execute a Package in PL/SQL.?

807


What are the features of pl sql?

770


how to shutdown mysql server? : Sql dba

745


Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

894


How do you optimize a stored procedure in sql?

683


What is t-sql? : Transact sql

712


How do you go back in sql?

701


write an sql query to find names of employee start with 'a'? : Sql dba

778


How many columns should be in an index?

709


what is sql? : Sql dba

741