Can some one explain to me how the SELECT return the results??. Does it preserve the order when returning the results when I run the same query over and over again(maybe after updating some fields) ??
Share
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.
In no specific order (unless you specify
ORDER BYclause).When they write it in the manuals, they mean it.
Depending on the implementation of a certain
RDBMS, aSELECTquery can change its plan on statistics recalculation, as a result of a tablespace reallocation, as a result of changes in query parallelization and for a million other reasons.Even if you do nothing with the table and run two exactly same queries one after another, the records may be returned in completely different order.