Viewing 15 posts - 196 through 210 (of 432 total)
YSLGuru (6/30/2010)
July 6, 2010 at 11:02 pm
sjimmo (6/25/2010)
BTW, you can see everything I have demonstrated and said by running showplans against each query
See attached.
June 25, 2010 at 2:23 pm
When there is a clustered index, then the select will do a index scan on the clustered index and return the records in the order that it finds them based...
June 25, 2010 at 2:01 pm
sjimmo (6/25/2010)
Not on a simple select *
Are you saying that the IAM page chain will not be used to do an unordered page traversal if you specify a "simple select...
June 25, 2010 at 10:09 am
I should have said "If there is a clustered index on the table it will return the data in the order of the clustered index"
That's not always true however. Just...
June 25, 2010 at 6:59 am
sjimmo (6/25/2010)
June 25, 2010 at 6:33 am
But I've already shown you an example where the order of the SELECT statement without ORDER BY does not match the clustered index order and you say that you get...
June 25, 2010 at 6:09 am
My collation is Latin1_General_CI_AS. But if it was ordered by the clustered index then that would be irrelevant because the cluster key in my example is an INTEGER. The ordering...
June 25, 2010 at 5:29 am
The idea that SELECT without ORDER BY returns the clustered index order has been debunked many, many times at SQLServerCentral and elsewhere. Just Google for those references. It's not difficult...
June 24, 2010 at 8:27 pm
sjimmo (6/23/2010)
When you issue a select * from tablename on a table without a PK or clustered index, the data should be returned in the order that it appears in...
June 24, 2010 at 1:33 pm
Correct. DATETIME is no more immune to different calendar problems than INT is. Calendar changes aren't necessarily a problem. You may not even need to do date arithmetic and even...
June 17, 2010 at 2:12 pm
In the relational model all relationships can be represented in only one way: in tables. So a table called T with columns X and Y indicates that there is a...
June 17, 2010 at 1:38 pm
As already stated a DATE column ought to be a better choice for SQL Server 2008 onwards.
However, there is at least one situation in previous versions where it could make...
June 17, 2010 at 1:10 pm
Steve Jones - Editor (6/15/2010)
I can see a GUID clustered if it's built on NewSequentialID() only.
You could still get page splits because NEWSEQUENTIALID may be generated out of sequence after...
June 15, 2010 at 3:48 pm
Jeff Moden (6/13/2010)
June 13, 2010 at 4:42 pm
Viewing 15 posts - 196 through 210 (of 432 total)