What are the two virtual tables SQL Server maintains for
triggers?
Answer Posted / sri
The 2 virtual tables are the OLD and the NEW
OLD is invalid in the case of INSERT and NEW is invalid in
the case of DELETE statements
Inside the trigger we can use the OLD and NEW as follows
:OLD.columnname
:NEW.columnname
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What is a filestream?
What are the difference between primary keys and foreign keys?
How many tables can be joined in SQL Server?
What is temporal data type?
Explain triggers in sql?
What is the difference between ddl,dml and dcl commands?
Can we hide the definition of a stored procedure from a use?
Disadvantages of the indexes?
What is hot add cpu in sql server 2008?
Why de-normalization required?
How to download and install sql server 2005 books online?
How do you manipulate data?
What is the use of stored procedure?
How to move database physical files in ms sql server?
Can we call future method from queueable?