Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Is t sql the same as sql server?

975


What is partition, how will you implement it? : sql server analysis services, ssas

1048


What is the log shipping?

1005


What is a cursor, index in sql?

1071


Explain four layers of abstraction microsoft architectured?

147


What is the difference between insensitive and scroll cursor?

1160


What are the steps to insert a table?

945


What is a file group?

1092


How to create a large table with random data for index testing in ms sql server?

1031


How many replicas are maintained for each sql azure db?

124


What are different types of views?

948


What is named calculation? : sql server analysis services, ssas

982


Where cross join is used?

962


How to enable tcp/ip protocol on a sql server?

1161


What is difference between clustered index and non clustered index?

1077