我是MySQL新手,我想限制行只接受从1到1000 (包括1和1000)的值。我提到过Want to restrict the value of a MySQL field to specific range (Decimal values)和How to restrict acolumn value in SQLite / MySQL都有点老了!
[relacion_institucion_categoria]CHECK([dbo].[func_CHECK_CATEGORIA](id_categoria)=1);The ALTER TABLE statement conflicted with the CHECK constraint"CHECK_CATEGORIA".