sql server - SQL Compute Default Value Column -


i have 5 column in table transaction

debit, credit, rate, companydebit, companycredit 

the question : how add default value companydebit & companycredit using following formula:

companydebit = debit * rate companycredit = credit * rate 


Comments

Popular posts from this blog

python - Creating a new virtualenv gives a permissions error -

go - Idiomatic way to handle template errors in golang -

c# - What is a NullReferenceException, and how do I fix it? -