What are Magic Table?

Answer Posted / subbu

suppose if we write a trigger on the table on insert or
delete or update

on insertion of record into that table,
inserted table will create automatically by database,

on deletion of record from that table,
deleted table will create automatically by database,

This two tables inserted and deleted are called magic
tables.

Is This Answer Correct ?    29 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a collation?

596


How to insert and update data into a table with "insert" and "update" statements?

516


What languages bi uses to achieve the goal?

513


Define synonym?

731


explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

1989






What is a natural primary key?

526


How to modify existing triggers using "alter trigger"?

532


What are the different normalization forms?

620


What are the advantages of using cte?

557


How to select some specific rows from a table in ms sql server?

574


What is xdr?

570


What is auditing in sql server?

507


Explain go command in sql server?

548


Explain different types of collation sensitivity?

533


You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

604