【发布时间】:2012-09-16 08:14:51
【问题描述】:
如何限制在 SQL 中为字段输入的值
Appointment ( Appointment_ID, Appointment_Date, Appointment_Time )
我要限制输入的值应该是
Appointment_Date (Monday – Friday)
Appointment_Time (08:00- 17:00)
【问题讨论】:
-
SQL 似乎不是验证这一点的正确位置
-
您使用的是 Microsoft Sql Server 吗?
-
感谢@Marc B 真的很有帮助
标签: sql date criteria conditional-statements restriction