?
Solved

retrieval request

Posted on 2011-03-13
2
Medium Priority
?
418 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
2 Comments
 
LVL 2

Accepted Solution

by:
preraksheth earned 2000 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

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

589 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