What are the magic tables available in SQL Server 2000?
I wonder, why they are 'magic' tables?
What are the magic tables available in SQL Server 2000?
I wonder, why they are 'magic' tables?
GIYF:
The INSERTED and DELETED tables, popularly known as MAGIC TABLES, and update () and columns_updated() functions can be used to determine the changes being caused by the DML statements.
The 'magic tables' are the INSERTED and DELETED tables, as well as the update() and columns_updated() functions, and are used to determine the changes resulting from DML statements.
The primary use of these tables are for more complex operations when triggers are fired.