Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to permit only a few values in dbms

ALTER TABLE [TableName] ADD CONSTRAINT 
my_constraint CHECK (PatientType = 'Admitted' OR PatientType = 'OPD')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #permit #values #dbms
ADD COMMENT
Topic
Name
9+4 =