创建表
获得当前时间
字段小写
字段大写
为空返回默认
生成随机数
字符串转时间
drop table UTB_SLX_SYSMODEL; -- 系统模块 -- create table UTB_SLX_SYSMODEL ( ID long primary key, -- 系统模块 -- ProjId long not null foreign key references UTB_SLX_PROJ(ID), -- 所属项目 -- TheName nvarchar(255) not null, -- 名称 -- TheCode nvarchar(255) not null, -- 代号 -- Remark ntext, -- 备注 -- CreateTime date default now() not null, -- 创建时间 -- UpdateTime date default now() not null -- 修改时间 -- ); -- 创建[表格:UTB_SLX_SYSMODEL] seq_slx_sysmodel -- insert into utb_sys_dual values ( 'seq_slx_sysmodel',1,now(),now() );