问题描述 在数据库中定义一个date类型字段 create table test( id int primary key, riqi date default getdate()); insert into test (id) values (1)