What are the magic tables in SQL Server 2000?

Answer Posted / maya

While using triggers these Inserted & Deleted tables
(called as magic tables) will be created automatically.

When we insert any record then that record will be added
into this Inserted table initially, similarly while
updating a record a new entry will be inserted into
Inserted table & old value will be inserted into Deleted
table.

In the case of deletion of a record then it will insert
that record in the Deleted table

Is This Answer Correct ?    40 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain filestream storage of sql server 2008?

520


Why it is recommended to avoid referencing a floating point column in the where clause?

542


What are the different types of upgrades that can be performed in sql server?

695


How to create database with physical files specified in ms sql server?

546


Why we need to use secondry database file? though, we can do same work using primary database file also.

5782






What is report rendering ?

102


What are the extra roles available in msdb? : sql server security

646


How to assign null values to variables or columns?

553


Why is replication required on the sql server?

577


Why union all is faster than union?

514


What are the types of subquery?

555


How to enable tcp/ip protocol on a sql server?

594


What do you do in data exploration

568


What is the maximum size of sql server database?

513


Difference between report and query parameter. Why do we need different type of parameter?

578