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

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -