我有一个问题,必须检查时间变量是否大于1小时。帮我! 这是我的代码:
CREATE TABLE MOVIE
(
MovieID int identity(1,1) NOT NULL PRIMARY KEY,
MovieName varchar(50) NOT NULL,
Duration time check(HOURS(Duration) >= 1) NOT NULL,
Genre int check(Genre between 1 and 8) NOT NULL,
Direction varchar(50) NOT NULL,
[Money] money NOT NULL,
Comments varchar(100),
)
答案 0 :(得分:1)
您可以像这样检查时间变量
flutter run