Office中国论坛/Access中国论坛
标题:
关于在access更新时用到子查询,还请大家快来帮帮我
[打印本页]
作者:
nousen
时间:
2005-9-8 14:37
标题:
关于在access更新时用到子查询,还请大家快来帮帮我
在access中 如何实现pl/sql 中 update用法如:
update table1 set(col1,col2,col3 ) = (select col1,col2,col3 from table2 where col4 = '001')
where table1.col4 = '001' ;
作者:
sea.er
时间:
2005-9-9 02:52
UPDATE table1 INNER JOIN table2 ON table1.col4 = table2.col4 SET table1.col1 = [table2]![col1], table1.col2 = [table2]![col2], table1.col3 = [table2]![col3]
WHERE (((table1.col4)="0001"));
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/)
Powered by Discuz! X3.3