Add a check constraint for the column, ONLY insert the values that didn't have any special characters except comma, space, full-stop and number in them?
For example allows like: Group Co.,Ltd
Should not allow ¿Abc
is important
Add a check constraint for the column, ONLY insert the values that didn't have any special characters except comma, space, full-stop and number in them?
For example allows like: Group Co.,Ltd
Should not allow ¿Abc
is important
You can try the below example-
ALTER TABLE EMP ADD ( CONSTRAINT CC_NAME CHECK (TRIM(TRANSLATE(UPPER(ename),' ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_,.',' ')) is null));