Create a procedure to delete certain records from a table
and display the total number of records deleted in this
process. (Condition for deletion can be of ur choice, for
instance delete all records where eid='')

Answer Posted / manas

create or replace procedure proc_name(noofcount out number ) is
Begin
Delete from tes_tabt;
noofcount := sql%rowcount;
End

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sql*loader direct path so fast?

601


How global cursor can be declare with dynamic trigger ?

1750


What are all different types of collation sensitivity?

526


What is compute?

560


What are the ways on commenting in a pl/sql code?

513






What is the difference between subquery and correlated query?

530


What is trigger point?

539


How can we optimize a sql query?

577


How do I truncate a sql log file?

540


Is postgresql a server?

577


How do sql databases work?

533


How many row comparison operators are used while working with a subquery?

537


What is using in sql?

568


what is text? : Sql dba

564


explain normalization concept? : Sql dba

592