insert into NB_kfq_zs (shi,kfq,kfqtype,nian,mon) select shi,kfq,kfqtype,nian,Convert(varchar(7),getdate(),120) from NB_kfq_zs
插入格式是:2010-07这样的
那就更简单了
insert into NB_kfq_zs (shi,kfq,kfqtype,nian,mon) select shi,kfq,kfqtype,nian,Month(getdate()) from NB_kfq_zs
update NB_kfq_zs set mon='新值' where 查询条件