Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are Magic Table?

Answer Posted / yogesh

You all have answered what magic tables are. its correct :
there are two magic tables named inserted and deleted.

On Insertion :
whenever an insert takes place, the data goes into inserted
table before the commit of the transaction.

On Deletion :
Whenever a row gets deleted from a table, data goes into
deleted table.

On Update :
Since an update statement is a combination of delete and
insert so in case of update data goes in both, inserted and
deleted tables.

But the further Question is :

How the magic tables get created by ASE? Can any one give
the detailed and satisfactory answer?

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a join? : Sql server database administration

1156


What is the difference between grant and with grant while giving permissions to the user?

915


What are the different type of replication in sql server?

947


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

1285


How to see the event list of an existing trigger using sys.trigger_events?

1044


What is function of ROLLUP ?

1053


What are the database objects? : SQL Server Architecture

1004


How to concatenate two character strings together?

1076


What is the default fill factor value?

1033


Explain different types of collation sensitivity?

943


What is the sql case statement used for?

1052


Explain in brief how sql server enhances scalability of the database system?

948


What is the default value of an integer data type in sql server 2005?

918


What is a trigger what are the advantages of trigger?

938


How to create a trigger for insert only?

1004