Since the rules are deprecated, what is the correct syntax to use constraints with User-defined types (I don't mean user-defined table types)?
CREATE TYPE MyType
FROM NCHAR(10) NOT NULL
CONSTRAINT CHECK(MyType IN ('haha', 'hoho'))
This is not working...
© 2016 Powered by mzan.com design MATCHINFO