【发布时间】:2018-01-10 16:31:12
【问题描述】:
我的问题是是否有办法进行条件更新,例如
if existence = true
then update market set exitdate = now(), existence = false
else then update market set exitdate = null, existence = true
对于我要查找的更多内容,我找不到与我的代码类似的内容。
【问题讨论】:
-
可以使用合并
标签: c# sql postgresql-10