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 |
How to encrypt Strored Procedure in SQL SERVER?
While you are inserting values into a table with the insert into .. Values option, does the order of the columns in the insert statement have to be the same as the order of the columns in the table?
What is lookup override?
Differentiate between truncate vs delete in mssql?
Where do we generally create INDEX?
1 Answers Ernst Young, Thomson Reuters,
what is IDE,DMV in sql server?
What is an execution plan? When would you use it?
What is the new security features added in sql server 2014? : sql server security
What is side by side migration in sql server?
What is the purpose of the master database?
What is dynamic cursor in SQL SERVER?
Hi all, I need query help for below senorio, could you please help me. TableName = City CITYID ContinuationID CITYNAME 1 1 SAN 1 2 DIEGO 2 1 SAN 2 2 FRANCISCO 3 1 CHICAGO 4 1 NEW 4 2 YORK 4 3 CITY Could you please help me to write a generalized SQL that returns results as given below in the Query result CITYID NAME1 NAME2 NAME3 NAME4 NAME5 1 SAN DIEGO 2 SAN FRANCISCO 3 CHICAGO 4 NEW YORK CITY
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)