Programming

(Oracle) constraint null 동시 check

steloflute 2019. 10. 22. 18:13
alter table t
add constraint c1 check (
case when a1 is null then a2 is null else a2 is not null)