insert into t_SystemProfile(FCategory,FKey,FValue,FReadonly,FDescription) select 'CYY','fstocknumber',19,1,'MES入库默认仓库' insert into ICSystemProfile(fid,findex,FPropertyID,FCaption,FCategory,fkey,fvalue,FCaption_CHT,FCaption_EN) select 2,max(findex)+1,3,'MES入库默认仓库','CYY','fstocknumber','','','' from ICSystemProfile