Hi,
I think i have a problem with SIMILAR TO.
This is my regular expression...
CREATE DOMAIN EMailAdr AS VARCHAR(255) NOT NULL
CONSTRAINT wrong_EMail
CHECK(VALUE SIMILAR TO '[A-Za-z]+[0-9]*(#|!|%|&|.)*@[a-z]+(-|.)*[a-z]*(-|.)*.[a-z]{2,3}');
I thought that curly bracktes are useful...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.