when I create a materialize view, I use in the query an order by ant it works fine.
But when I refresh the MV with DBMS_MVIEW.REFRESH(('T_SEARCH', 'C') everything is completely messed up. So is there a way to avoid that problem ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean that
SELECT * FROM T_SEARCHdoes not provide a coherent sort order, that’s the expected behaviour in all SQL dialects I know. The fact thatT_SEARCHis not a physical table does not trigger any exception: you need to provide anORDER BYclause in theSELECTquery.