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 / mathivanan
Create or replace procedure delete_rec_cnt is
begin
delete from MY_TABLE;
dbms_output.put_line(sql%rowcount);
end;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is sql profiler in oracle?
What are inner and outer joins examples of both?
What packages are available to pl/sql developers?
What is a .db file?
What is PL/SQL Records?
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
What is java sql driver?
What is an inconsistent dependency?
How do you update a table in sql?
What does inner join mean?
what is a database? : Sql dba
What is interval partition?
What is break?
What if we write return in procedure?
what is msql? : Sql dba