What is magic table in sql?
what is a magic table in sqlserver?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 7, 2013, 4:35 AM EST
http://www.c-sharpcorner.com/UploadFile/rohatash/magic-tables-in-sql-server-2012/
http://www.c-sharpcorner.com/UploadFile/63f5c2/magic-table-in-sql-server/
http://vishalnayan.wordpress.com/2011/04/14/what-is-magic-table-in-sql-server/
http://www.dotnetspider.com/resources/29332-Magic-tables-SQL-Server.aspx
Jignesh TrivediRank #16 · 50.3K reputationPosted Jan 7, 2013, 5:38 PM EST
Magic tables are nothing but "INSERTED" and "DELETED" table scope level (which are used in trigger), They are not physical tables, only Internal tables.
Magic Tables does not contain the information about the Columns of the DataType text,ntext or image.These are maintained by SQL Server for internal processing whenver an update,insert,Delete occur on table.
You can also use the Magic tables with Non-Trigger activities using OUTPUT Clause in SQL Server 2005, 2008 & 2008 R2 versions.
hope this will help you.