delete vs4tsystem WHERE tsysname='SECustom3'
GO
insert into vs4tsystem (tsysid,tsysname,TSysText,tsysflag1) values (-1,'SECustom3','รุ่น',1)
GO
update vs4tsystem set tsysid=(select max(tsysid)+1 from vs4tsystem) where tsysid=-1
GO

delete vs4tsystem WHERE tsysname='SECustom4'
GO
insert into vs4tsystem (tsysid,tsysname,TSysText,tsysflag1) values (-1,'SECustom4','หมายเลขคัสซี',1)
GO
update vs4tsystem set tsysid=(select max(tsysid)+1 from vs4tsystem) where tsysid=-1
GO

delete vs4tsystem WHERE tsysname='SECustom5'
GO
insert into vs4tsystem (tsysid,tsysname,TSysText,tsysflag1) values (-1,'SECustom5','หมายเลขเครื่อง',1)
GO
update vs4tsystem set tsysid=(select max(tsysid)+1 from vs4tsystem) where tsysid=-1
GO