📜  sql server phone 约束 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:03.029000             🧑  作者: Mango

代码示例1
CONSTRAINT chk_phone CHECK (phone like '[0-9][0-9][0-9][0-9][0-9][0-9][0-9]') -- check that no number is not a digit