oracle 教程http://www.cuug.com/一.SQL*PLUS中输入SQL> conn as sysdba;SQL> alter system setjob_queue_processes = 6; --自动执行数据收集时该参数需要大于0SQL> alter system set timed_statistics =true; --使用statspack收集统计信息时建议...【阅读全文】
[问题解决]ORA-01427: 单行子查询返回多个行有人问题我一个问题,情况如下:他要用根据divide_act_channel_day的new_amount字段去更新divide_stat的new_amount字段。两张表关联的条件:day=log_time,channel=channel--SQL如下:update divide_stat set divide_stat.new_amount=(select divide_act_channel_day.new_amount from divide_act_channel_daywhere divide_stat.day=divide_a【阅读全文】