sql - Creating a check constraint for multiple specific inputs -


i assumed fine execute sql ommand this

installation' or 'software repair'

this didn't work tried

this didn't go great either, got missing expression data recovery

this gave me cannot validate sys.ch_servicetype -check constraint violated

does mean constraint in place? if not

how can enforce check constraint table require specific values?

thanks

use in keyword.

servicetype in ('training', 'data_recovery', 'consultation', 'software  installation', 'software repair') 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -