if exists (select * from sysobjects where id = OBJECT_ID(N'SYSORGBASEINFSET') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table SYSORGBASEINFSET go create table SYSORGBASEINFSET ( bill_no VARCHAR(100) default '*' not null, logo VARCHAR(100), logo_name VARCHAR(200), gmt_modified DATETIME not null, trim_user_id numeric(19,0) default 0, remark VARCHAR(100), login_banners VARCHAR(500), login_sys_name VARCHAR(100), login_sys_logo VARCHAR(100), dingtalk_app_id VARCHAR(100), dingtalk_app_secret VARCHAR(100), primary key (BILL_NO) ) go insert into SYSORGBASEINFSET(logo_name,gmt_modified,login_sys_name) values('',getdate(),'')