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
What is data compression? : sql server database administration
What is meant by datasource?
What is the advantage of sql server?
what are the different ways to return the rowcount of a table?
Determine when an index is appropriate?
How each E-R model constructs can be mapped to the relational model?
Which joins are sql server default?
How can you insert null values in a column while inserting the data?
What is the order in which the sql query is executed?
What are date and time data types in ms sql server?
Can the “if update (colname)” statement be used in a delete trigger?
In what sequence sql statement is processed?
Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?
How to add a new dsn with the odbc driver for sql server?
How to check status of stored procedure in sql server?