4_1.sql

来自「to study the example of creation of tabl」· SQL 代码 · 共 11 行

SQL
11
字号

--alter table Student  
--alter column[id_person]
--int
--NOT NULL

--alter table Student  
--	add constraint check_form check ((id_form=1) or (id_form=2) or(id_form=3) or(id_form=4))

alter table Student  
	add constraint check_form check (id_form between '1' and '5')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?