Column with DEFAULT function, pass parameter or determine insert values?

前端 未结 1 1856
無奈伤痛
無奈伤痛 2021-01-28 00:54

In MS-SQL Server, is it possible to pass a parameter to a DEFAULT function, or somehow base the DEFAULT value on the values inserted in the record?

相关标签:
1条回答
  • 2021-01-28 01:19

    No, I don't think you can do it without a trigger.

    0 讨论(0)
提交回复
热议问题