请教一个问题,像以下这几条语句能不能写成一条?即只写一次“ name='150D' where name='100D' ”来同时更新7个表中相同字段相同条件的记录?
update 表1 set name='150D' where name='100D'
update 表2 set name='150D' where name='100D'
update 表3 set name='150D' where name='100D'
update 表4 set name='150D' where name='100D'
update 表5 set name='150D' where name='100D'
update 表6 set name='150D' where name='100D'
update 表7 set name='150D' where name='100D'
好人一生平安 于 2009-3-25 18:54 补充以下内容
各位管理员,本人请求帮忙加亮。本帖子由阳光论坛社会行家组成员答复
解决软件应用问题、专家原来离我们这么近--阳光网驿助力企业信息化 |