I making a simple inventory application. In a table i have columns Quantity, Price and TotalPrice. Which is better, make TotalPrice a Computed Column as Quantit
Computed Column
why store a computed column when you can do the computations in the query?
SELECT (Quantity * Price) as TotalPrice FROM my_table