What are Magic Table?

Answers were Sorted based on User's Feedback



What are Magic Table?..

Answer / arvind kumar

Magic tables are Inserted And Deleted which fires when we
use triggers and they are also work like temporary tables to
hold the data.

Is This Answer Correct ?    0 Yes 0 No

What are Magic Table?..

Answer / kanna

Magic Table

When we use Trigger Statement in SQL that time atomatic created in Magic Tables INSERTED and DELETED tables and UPDATE also

Is This Answer Correct ?    0 Yes 0 No

What are Magic Table?..

Answer / sushanta kumar sahoo

magic tables are nothing but inserted and deleted in which
the temporary object created by the server internally to
hold the recently inserted values.

Is This Answer Correct ?    1 Yes 1 No

What are Magic Table?..

Answer / rohit kumar singh

update & delete are two magic tables.
(a)update
insert and update
(b)delete

Is This Answer Correct ?    0 Yes 0 No

What are Magic Table?..

Answer / golu singh

In SQL server magic table is nothing more than an internal
table which is created by the SQL server to recover recently
inserted, deleted and updated data into SQL server database.
That is when we insert or delete any record from any table
in SQL server then recently inserted or deleted data from
table also inserted into inserted magic table or deleted
magic table with help of which we can recover data which is
recently used to modify data into table either use in
delete, insert or update to table. Basically there are two
types of magic table in SQL server namely: inserted and
deleted, update can be performed with help of these twos.
Generally we cannot see these two table, we can only see it
with the help Trigger’s in SQL server.

For more details please check out the following link...
http://mindstick.com/Blog/211/Magic%20Table%20in%20SQL%20Server

It might resolve your problem.
Thanks!!

Is This Answer Correct ?    0 Yes 0 No

What are Magic Table?..

Answer / shweta sharma

inserted and updated are the rite answer

Is This Answer Correct ?    0 Yes 0 No

What are Magic Table?..

Answer / 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

What are Magic Table?..

Answer / neeraj sharma

When we fire the trigger then the data goes to temporary
tables. when we execute insert, delete, update trigger the
the data goes to temporary tables. these temporary tables
are called as magic tables. There to types of magic tables:
1. Inserted
2. Updated

Is This Answer Correct ?    0 Yes 1 No

What are Magic Table?..

Answer / sandeep

magic table two part
1)Inserted
a)Insert
b)update
2)Deleted

Is This Answer Correct ?    24 Yes 26 No

What are Magic Table?..

Answer / pappu

magic tables are created by great magician Mr.Muthukad....
for further details u have to contact him...

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

what is checksum in sql server.........???

1 Answers   TCS,


Please get the 4 th maximum salary from a table without using any sql keyword (TOP,MAX are mot allowed)

8 Answers  


How to create a new login name in ms sql server?

1 Answers  


Explain the difference between primary keys and foreign keys?

1 Answers  


How to download microsoft sql server 2005 express edition?

1 Answers  


Why is normalisation important?

1 Answers  


Why is sql server log file full?

1 Answers  


Can we rollback records deleted by a truncate statement?

3 Answers   CarrizalSoft Technologies, United Healthcare,


How to get a list of columns in a view using the "sp_help" stored procedure?

1 Answers  


What is partition in sql server?

1 Answers  


Define candidate key, alternate key, composite key.

13 Answers   Infosys, Software India,


what is a correlated sub-query? : Sql server database administration

1 Answers  


Categories