Consider the following minimal example.
CREATE TABLE Student (
Name varchar(50),
CHECK (isEnglish(Name))
)
I want to add a constraint that the name is in the English alphabet (a-z, A-Z) while inserting a new tuple in the STUDENT
table. How do I do this? That is, what should I put in place of isEnglish(Name)
?