Valid GROUP BY query doesn't work when combined with INSERT INTO on Oracle

后端 未结 4 1054
旧时难觅i
旧时难觅i 2021-02-13 22:31

I\'m trying to write an INSERT INTO that does a some DISTINCT/GROUP BY work. The query runs perfectly fine as a select statement, but will not work if it\'s wrapped into an INS

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-13 22:34

    The problem is solved by automatically changing the value of a parameter (optimizer_features_enable). This value determines the optimizer version of the base, with 11 should not give that problem.

提交回复
热议问题