Solved

retrieval request

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Star schema daily updates 2 50
SQL Query Across Multiple Tables - Help 5 43
how to solve "recursive" database tables 2 42
comparing two rows 10 35
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…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
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…

738 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