Solved

retrieval request

Posted on 2011-03-13
2
407 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 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This article describes some very basic things about SQL Server filegroups.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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…

820 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