Suppose I have a relational database in which, among other things, I want to store the names of employees and their identification strings. The format of the identification string is strictly defined: these are three lowercase alphabetical characters, then a dash, followed by a four-digit number.
Question: Does any relational database allow you to define a regular expression that must match a specific text field? As in my example, it would be nice to make the database check all employee identifier values ββfor a simple regular expression, and not at the user interface level.
Another question: if I have such problems (i.e. the need to check the field values ββin comparison with an additional set of restrictions), does this mean that my circuit is denormalized, and I have to fix it?
user500944
source
share