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

Explain query editor regions

1037


Do you know what are the differences between lost updates and uncommitted dependencies?

1073


How to rebuild all indexes on a single table?

1052


What are system databases into sql server (2005/2008) : sql server database administration

1003


Can you please differentiate between a primary key and a unique key?

1004


what are constraints? : Sql server database administration

1051


What is triggers and its types?

1005


What is the report builder?

139


Can a database be shrunk to 0 bytes, if not, why?

1094


What is the advantage of sql server?

1028


Can I save my report as html, excel or word? : sql server management studio

950


How to use go command in "sqlcmd"?

1198


If the job running very slow what is the action you do

1886


You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

1047


How to execute function in stored procedure sql server?

1147