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

Magic Tables ?

Answer Posted / punit chauhan

whenever a trigger is fire in response to an insert, delete and update statement.
Two special tables create, these are the inserted and deleted tables, they are also referred as magic tables.

* whenever we insert any record into the table then trigger use inserted table.

* whenever we delete any record into the table then trigger use deleted table.

* whenever we update any record into the table then trigger use inserted and deleted tables.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration

921


Explain rdbms?

1039


Explain transaction server explicit transaction?

930


How to create a trigger for insert only?

1040


What is self join in sql server joins?

1060


What is pivot and unpivot?

1013


What are different types of roles provided by ssrs?

150


If a stored procedure is taking a table data type, how it looks?

6449


What is coalesce in sql server?

1052


When is the use of update_statistics command?

1007


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1916


What do you understand by a stored procedure?

1088


Write an sql query for deleting duplicate rows?

995


Tell me what do you understand by a view? What does the with check option clause for a view do?

1021


What is set nocount on?

939