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

Difference between DELETE and TRUNCATE?

617


Can we insert data into a view?

574


What is a file group?

625


How many cores do I need for sql server 2016?

507


What is the difference between varchar and nvarchar?

528






Can we use custom code in ssrs?

589


What is mssql?

572


What is the difference between insensitive and scroll cursor?

581


how you can move data or databases between servers and databases in sql server? : Sql server administration

487


What are the database roles? : sql server security

566


how you can configure a running aggregate in SSRS?

114


Stored Procedure returns data from multiple tables. How to access it in your ASP.Net code?

555


What are the types of table?

549


Can you get second highest salary from the table?

555


How to write character string constants or literals in ms sql server?

546