delete vs4tsystem WHERE tsysname='SEAPPROVEJOBSTEPCODE'
GO
insert into vs4tsystem (tsysid,tsysname,tsystext,tsysvalue,tsysflag1) values 
(-1,'SEAPPROVEJOBSTEPCODE',(SELECT TSystext FROM vs4tsystem WHERE tsysname='SOAPPROVEJOBSTEPCODE'),0,1)
GO
update vs4tsystem set tsysid=(select max(tsysid)+1 from vs4tsystem) where tsysid=-1
GO
