PostgreSQL 10.x What is the best way to restrict the values on a text field to make sure they only contain particular values: Example: The field “type” can only contain the values of “X”, “Y” and “Z”. Would a trigger be
the best strategy? Or is there a special SQL type I should use in this particular case?
Thanks, Software Architect 217.333.0382 Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure. |