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

What is resource db in sql server?

963


What do you understand by the denormalisation?

909


What do you mean by an execution plan? Why is it used?

952


How to get a list of table columns using the "sp_columns" stored procedure in ms sql server?

960


How to get the number of affected rows?

949


Which operator do you use to return all of the rows from one query except rows are returned in a second query?

943


What is the return type of executeupdate ()?

857


what is a mixed extent? : Sql server administration

1023


What triggers long term care?

991


In which sql server version report builder introduced?

142


Is it possible to have clustered index on separate drive from original table location?

905


How fixed length strings are truncated and padded?

940


Differentiate between ms sql server reporting services vs crystal reports?

852


How to get a list of all tables with "sys.tables" view in ms sql server?

982


What is data source in connection string?

849