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

Is port 1433 secure?

0 Answers  


Why should we go for stored procedures? Why not direct queries?

0 Answers  


How to determine the service pack currently installed on SQL Server?

4 Answers   HCL,


Explain different backup plans?

0 Answers  


Explain indexed view?

1 Answers  






What is Cross Join and in which scenario do we use Cross Join?

0 Answers   QuestPond,


What are truncate options available in sql server? : sql server database administration

0 Answers  


Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.

0 Answers   Global Logic,


What do you understand by a view?

0 Answers  


What is the diff between Dynamic queries and static queries

1 Answers   CGG, ICS Integrated Computer Solutions,


Is truncate autocommit?

0 Answers  


DIFFERENCE BETWEEN SQL SERVER 2005 and 2008

2 Answers   ADP,


Categories