Solved

retrieval request

Posted on 2011-03-13
2
409 Views
Last Modified: 2012-06-27
For an unordered retrieval request, different executions of request may return the retrieved rows in a different sequence. I think this statement is true because the order of request is the key in row access in  database. Am i right? tks.
0
Comment
Question by:BeginToLearn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
preraksheth earned 500 total points
ID: 35120360
True only conditionally. The sequence of rows fetched from the database are dependent on many things, including the natural order of storage, any joins made, and the plan used for execution.

So IF the data has not changed in any way (no insert, no delete, no updates), and IF the joins have not changed (same query executed again), then the row sequence WILL remain the same. In all other conditions, it is not guranteed.
0
 

Author Comment

by:BeginToLearn
ID: 35130757
tks
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question