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 / 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

What are the types of optimization?

961


Which version of sql do I have?

1057


how to create a new view in mysql? : Sql dba

938


How do you identify a primary key?

1064


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

1027


Explain locks? : Transact sql

1010


what is a join? : Sql dba

1037


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

971


What is trigger and types?

1026


Is like operator in sql case sensitive?

1028


Explain some predefined exceptions.

1040


What is a unique constraint?

1078


What is the largest value that can be stored in a byte data field?

1012


what does it mean to have quoted_identifier on? : Sql dba

1146


What is the difference between truncate and drop statements?

1190