Where are magic tables stored ? Is it in the same database
where it is created ?
Answers were Sorted based on User's Feedback
Answer / digvijay kumar singh
magic table is concept of triggers. when trigger perform the
insert,delete and update action on the table. the create a
temprory table that is called the magic table. when perform
dalete action:-- all deleted row stored in to a table
thease table is called "Deleted table" such that insert
action: create "created table" these table called the magic
table.
when trigger commited the magic table automatically deleted.
it is stored in Temp database of sql server.
i hope any person gotted.
Is This Answer Correct ? | 25 Yes | 0 No |
Answer / raja
At the time of creating triggers magic tables will be created.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / digvijay kumar singh
yes, magic table stored in current databse.
Is This Answer Correct ? | 8 Yes | 2 No |
Do you know what is lock escalation?
Some queries related to SQL
Can sql servers link to other servers?
How to use values from other tables in update statements in ms sql server?
What is the return type of executeupdate ()?
What is tempdb in sql server?
How do you find the error, how can you know the number of rows effected by last SQL statement?
Why do we use trigger?
What are the properties of the transaction?
What methods do you follow to protect from sql injection attack?
Explain indexed view?
How to end a stored procedure properly in ms sql server?