王中王:
同志们,Oracle中利用Select INTO在表间导数据的用法是怎么写的?
[阅读: 3750] 2007-11-17 10:27:38
其它数据库直接select a into Target_table from Source_table where ....就可以了。
好象在Oracle中Select Into只能在PlSQL中用,不能直接在SQL查询中用(报错缺少关键字)。
换用Insert Into target_table(column_name) values(select column_name from source_table)也报错“缺少表达式”,后一种写法在网上能找到例子,但为什么我还是调不过呢?
http://wangzw.wordpress.com/
个性化台历、日历制作
http://shop33697570.taobao.com/