adspace


What are Magic Table?

Answer Posted / krishna pada mandal

Whenever we fire the DML trigger in any table then the two
table is created one in inserted and second is deleted that
is called Magic table. Actually this is temporary table
inserted table contain the copy of all record that are
inserted in the trigger table. And deleted table contain all
records that have been deleted fro, the trigger table.
When we update the table the trigger use both the table.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect php with different port numbers?

1197


Why we use the openxml clause?

1088


What is acid mean in sql server?

1257


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1223


How to provide default values to function parameters?

1273


Equi join and non equi join is possible with sql server?

1140


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

1052


What is self contained sub query?

1148


How can I check that whether automatic statistic update is enabled or not?

1120


How do I find the sql server version?

1114


Why and when do stored procedure recompile?

1077


Can you index views?

958


What are different types of constraints?

1007


Does view occupy space?

1033


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1139