Open ErikEJ opened 5 months ago
Verified on my activated server with:
CREATE TABLE Emails
(
ID int,
Email nvarchar(500) CONSTRAINT CK_Email CHECK (REGEXP_LIKE (Email, '^[^@]+@[^@]+$')),
)
INSERT INTO Emails VALUES (1, 'exy')
INSERT INTO Emails VALUES (2, 'ex@y')
@roji Thoughts?
fixes #156
(Pending GA of regex support in Azure SQL Database)
@roji