sql set max value in column
snippet in sql

sql set max value in column

user3976

ALTER TABLE dbo.mytable ADD CONSTRAINT CK_HAPPINESS_MAX CHECK (PokemonHappiness <= 10000)