We can
not see or access these tables directly, not even their data-type. The
only method to have access to these tables is Triggers operation either
After Trigger or Instead of trigger.
There are two types of Magic tables available in SQL server:
1. Inserting into Table (Inserted Table):
Whenever we do insert anything in our base table in database, a table gets created automatically by the
SQL
server, named as INSERTED. In this table current updated or inserted
record will be available. we can access this table of record via
triggers.
2. Deleting (Deleted Table):
Whenever we do deletion in base table in database, a table gets created automatically by the SQL server, named as
DELETED table. This table consist of current updated record after deletion operation. Again we can have access to these records via triggers.