Which virtual table does a trigger use?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps to process a single select statement?

518


Explain indexes disadvantages?

555


Can we use custom code in ssrs?

593


can an order by clause be used in a creation of a view?

697


How to generate create view script on an existing view?

568






Why we need to use secondry database file? though, we can do same work using primary database file also.

5779


Tell me what is normalization? Explain different forms of normalization?

550


what is dbcc? : Sql server database administration

531


Explain the categories of stored procedure?

521


What is plan freezing?

587


How to disconnect from a sql server using mssql_close()?

591


How do we know if any query is retrieving a large amount of data or very little data?

556


Why use sub query in sql server and list out types of sub queries?

548


Explain what are various ways to enhance the ssrs report?

575


If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?

559