delete vs4tsystem WHERE tsysname='PRODUCTSTATISTICMODE'
GO
insert into vs4tsystem (tsysid,tsysname,tsystext,tsysvalue,tsysflag1) values (-1,'PRODUCTSTATISTICMODE','',2,1)
GO
update vs4tsystem set tsysid=(select max(tsysid)+1 from vs4tsystem) where tsysid=-1
GO

delete vs4tsystem WHERE tsysname='PRODUCTSTATISTICINCLUDEPPRICE'
GO
insert into vs4tsystem (tsysid,tsysname,tsystext,tsysvalue,tsysflag1) values (-1,'PRODUCTSTATISTICINCLUDEPPRICE','',1,1)
GO
update vs4tsystem set tsysid=(select max(tsysid)+1 from vs4tsystem) where tsysid=-1
GO

