update aa set aa.name=bb.name from aa,bb where aa.a=bb.a
在sqlserver里可以,在oracle里不行,请问该怎么写了?
在sqlserver里可以,在oracle里不行,请问该怎么写了?
解决方案 »
- oracle触发器问题
- oracle 同一台主机上如何rman恢复具有相同数据库名和实例名的3个数据库?在线等!!
- 在线等!!select 多条记录如何合并为一条记录
- oracle 10g sysaux
- oracle ASM问题
- 解释一段代码的意思???????高手帮忙?????
- windows2000 server 上仅仅安装oracle9i基本程序文件,不创建数据库实例。完了后,可否直接导入数据库?
- oracle问题
- UNIX + oracle 中如何在unix脚本中运行sql脚本?
- 各位ORACLE高手,难道ORACLE连这样的SQL语句都不支持吗?!!
- 怎么动态选择列
- MS SQL SERVER 语句 转化为 PL*SQL语句 的问题,急!!!!!
set
aa.name=(select name from bb where a=aa.a)
where
exists(select 1 from bb where a=aa.a)
update aa set a=getName(a)