MySQL: Check constraint with Date

后端 未结 3 1601
说谎
说谎 2021-01-20 00:16

I am using MySQL and here is a simple query set:

create table dcheck (
    fdate date,
    sdate date,
    check (fdate <= sdate)
);

insert          


        
3条回答
提交回复
热议问题