alter table us_studies modify enroldate default to_char(sysdate,'yyyy-mm-dd');
ALTER TABLE QS_QUEUE ADD OFDEPART VARCHAR2(20);
alter table QS_QUEUE modify lastinitdate default sysdate;
--查询数据表中 某个字段最大值,注:需将字段进行类型转换,否则如果字段为非数字型,可能会出现最大值到 10 以后 ---- 一直获取到10
select MAX(to_number(businessid))+1 from hhus.QS_QUEUEBUSINESS t