¡¡¡¡
sqlÅúÁ¿ÈÃÈÕÆÚÔö¼Ó2ÄêµÄÓï¾ä
ÔÚ×öÏîÄ¿ÖÐÓ¦¸Ã¾³£Óõõ½µÄ
´ó¼Ò¿ÉÒÔÖ±½Ó¸´ÖÆ
¿ÉÒÔ½øÐÐÅúÁ¿Ð޸ģ¡
select s1,s8,s12 from hy where s1 in('TSA12099571','TSA12100589','TSA12100590','TSA12100543','TSA12100540','TSA12100036','TSA12110161','TSA12099278')
update hy set s8 = DATEADD(YEAR, 2, s8) where s1 in('TSA12099571','TSA12100589','TSA12100590','TSA12100543','TSA12100540','TSA12100036','TSA12110161','TSA12099278')