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


Please Help Members By Posting Answers For Below Questions

What are the types of subquery?

557


How to call a function from a stored procedure in SQL Server ?

565


What is the purpose of optimization?

554


What are the different subsets of sql?

967


How to execute multiple stored procedures at one time in sql server?

518






When you should use a low fill factor?

537


What is the difference between mysql and mysqli?

587


What are the filtered indexes?

609


Which sql server is best?

524


What is auditing in sql server?

509


Explain transaction server distributed transaction?

508


What is bulkcopy in sql?

570


Explain microsoft sql server functions?

552


What does null mean?

609


Does group by sort data?

518