Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the key differences between SQL and PL SQL?

1285


How do I use google cloud in sql?

1144


What is sql*loader?

1285


What is clustered index sql?

1030


How can you view the errors encountered in a trigger?

1022


What are stored procedures in mysql?

1072


What are the types of keys?

1063


how to start mysql server? : Sql dba

1236


What is the purpose of design view?

1074


How to write a query to show the details of a student from students table whose

1061


What is the difference between jpql and sql?

1144


Do ddl statements need commit?

1020


How many tables can a sql database have?

1027


What is java sql connection?

1120


what is the difference between ereg_replace() and eregi_replace()? : Sql dba

1225