I have a table in my SQL database. It has already some data and I have to add a new column. The value of the column should be created by a SQL function I'd definded. The parameters are two values from the table.
When I SELECT
the data it's to late to call the function.
So I have value1
and value2
in my table. And I have a third column which should calculated like this function(value1, value2)
.
I only found solutions which execute the function at the SELECT
.
Can anyone help me how to do this?