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

What is cursor ? And what is difference between Trigger ?

Answer Posted / sanjay kumar dinda

Cursor is a database object used by applications to
manipulate data in a set on a row-by-row basis, instead of
the typical SQL commands that operate on all the rows in
the set at one time.


Trigger is a database object invoked automatically when any
event occured.
These aevents are
Delete, Insert, Update etc....

SQL server store the intermediate data into to dummy table
INSERTED and DELETED...

At the time of insert operation SQL Server STores inserted
rows into the INSERTED table and at the time of delete or
update SQL Server stores the information into DELETED dummy
table

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to drop an existing schema in ms sql server?

1141


How to run sql server 2005 books online on your local system?

999


Difference between report and query parameter. Why do we need different type of parameter?

1007


How would we use distinct statement? What is its use?

1121


Is oracle faster than sql server?

1004


What is the difference between a primary key and a unique key? Are they the same?

1119


what are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration

1031


How many partitions a clustered index has by default in sql server 2012?

1136


Explain what are the restrictions while creating batches in sql server?

1111


Explain how to send email from sql database?

1102


How to optimize stored procedures in sql server?

1240


What is the usage of sign function?

1173


Define full outer join?

1010


What are the recovery models in sql server 2000?

998


Can you always create a cache of a report?

178