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

How to insert new line characters into strings?

727


What is postgresql server?

689


can any body tell me how to know the password of current user in sql server

1778


What is the difference between mysql and mysqli?

754


Explain difference between control flow and data flow?

713






How to set a database state to offline in ms sql server?

717


what's the difference between delete table and truncate table commands? : Sql server database administration

675


What is failover clustering overview?

765


can you implement data mining in SSRS?

126


What languages bi uses to achieve the goal?

691


Explain subquery and state its properties?

706


How to assign null values to variables or columns?

713


Which command is used for user defined error messages?

746


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

853


Does partitioning help performance?

685