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
How to connect a database with sql express.?
what is bit datatype? : Sql server database administration
What happens if the update subquery returns no rows in ms sql server?
Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?
How to set a database state to offline in ms sql server?
What is the recovery model? List the types of recovery model available in sql server?
Explain the various types of concurrency problem?
Explain trigger classes i.e. Instead of and after trigger?
Explain multiserver query
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
Do you know sql server 2008 introduces automatic auditing?
Find first and last day of current month in sql server
Explain about local stored procedure?
How do I find query history in sql server?
Give me a SQL Query to find out the second largest company?