I have a table
column1...column2.....column3
column1 is an int
column2 is an int
I want to store column1/column2 in column3 and have it update each time column(1 or 2) updates.
What is the best way to do this? I was thinking a trigger and a stored proc? Is there any way to store that info without a trigger or stored proc?
column1...column2.....column3
column1 is an int
column2 is an int
I want to store column1/column2 in column3 and have it update each time column(1 or 2) updates.
What is the best way to do this? I was thinking a trigger and a stored proc? Is there any way to store that info without a trigger or stored proc?