What are Magic Table?

Answer Posted / ajay kumar

Whenever a trigger is fired in response to the
INSERT,DELETE,Or UPDATE statement the SQL SERVER creates
two temporary tables, Called Magic Table. The Magic Table
called inserted or deleted. The magic table conceptual
tables are similar in structure to the table on which thw
trigger is difined.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use where clause with group by?

514


What do you do in data exploration

560


Do you know what is xpath?

557


Can we use where and having clause together?

506


What is sub-query in sql server?

664






What is sleeping status in sql server?

516


How to find index size for each index on table?

583


What is de-normalization in sql database administration? Give examples?

532


What is always encrypted?

516


What is default constraint?

537


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?

638


Which trace flags are enabled in sql server?

520


How to query multiple tables jointly?

556


What are the differences between stored procedure and the dynamic sql?

573


Can we use trigger new in before insert?

514