postgres 约束 多个条件 联合 约束
摘要:ADD CONSTRAINT xxx CHECK ( (col1 = 0.0) = (col2 IS NOT NULL)); ## 相当于check (true = ture)
阅读全文
posted @ 2016-07-25 17:20
posted @ 2016-07-25 17:20
posted @ 2016-06-25 11:39
posted @ 2016-06-25 11:38