Which virtual table does a trigger use?

Answers were Sorted based on User's Feedback



Which virtual table does a trigger use?..

Answer / kmbkrishnan

Triggers use magic tables - Inserted and Deleted

updated or update table not available.

Is This Answer Correct ?    57 Yes 5 No

Which virtual table does a trigger use?..

Answer / lenin

Yes,Only inserted and deleted are available in SQL

Is This Answer Correct ?    23 Yes 6 No

Which virtual table does a trigger use?..

Answer / gourav

Inserted and Deleted.. right answer

what is updated....nonsence.

Is This Answer Correct ?    17 Yes 7 No

Which virtual table does a trigger use?..

Answer / nishita

inserted and deleted

Is This Answer Correct ?    9 Yes 4 No

Which virtual table does a trigger use?..

Answer / yoshita

DML triggers use the deleted and inserted logical
(conceptual) tables. They are structurally similar to the
table on which the trigger is defined, that is, the table
on which the user action is tried. The deleted and inserted
tables hold the old values or new values of the rows that
may be changed by the user action. For example, to retrieve
all values in the deleted table, use

Is This Answer Correct ?    5 Yes 3 No

Which virtual table does a trigger use?..

Answer / sanjay

after trigger - insert - inserted logical table
delete - deleted logical table
update - insert/delete logical table

instead trigger - insert - inserted logical table
delete - deleted logical table
update - insert/delete logical table

Is This Answer Correct ?    1 Yes 1 No

Which virtual table does a trigger use?..

Answer / learner

triggers use 2 virtual tables called OLD and NEW.

Is This Answer Correct ?    5 Yes 22 No

Which virtual table does a trigger use?..

Answer / chandra rekha

Triggers use magic tables(update and delete tables)

Is This Answer Correct ?    9 Yes 35 No

Post New Answer

More SQL Server Interview Questions

I am having table Title with TITLE id,Author ID, Publiser ID , table AUTHOR with Author ID, Author Name, table PUBLISER with Pub ID, Pub name Here hot to find out the publiser id who have relesed the books of patriticular author?

3 Answers  


how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?

0 Answers   Facebook,


What is the process of indexing?

0 Answers  


What are the types of stored procedures in an sql server?

0 Answers  


How to set the current database in ms sql server?

0 Answers  






New concepts of sql server 2005 use in your project.

0 Answers   TCS,


What are the advantages dts has over bcp?

0 Answers  


Explain filtered indexes?

0 Answers  


Can you explain about buffer cash and log cache in sql server?

0 Answers  


What are the different types of join?

0 Answers  


How do you know which index a table is using?

4 Answers  


Diffrences between sql server 2000 vs 2008

0 Answers   TCS,


Categories