Select from following answers:- ALTER TABLE Inventory ADD TotalItems AS ItemslnStore + ItemsInWarehouse
- ALTER TABLE Inventory ADD TotalItems AS ItemslnStore + ItemsInWarehouse Persisted
- ALTER TABLE Inventory ADD TotalItems AS SUM(ItemsInStore, ItemsInWarehouse) PERSISTED
- ALTER TABLE Inventory ADD TotalItems AS SUM(ItemsInStore, ItemsInWarehouse)
- All Above
Persisted option is for defining heavily used column in queries
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator