Re: Insert a record in a particular place
- From: "Eric J. Holtman" <ejh@xxxxxxxxxxxxxxx>
- Date: Sat, 27 May 2006 18:58:34 -0000
"Ralph Ganszky" <rg@xxxxxx> wrote in news:e59adc$kug$01$1@xxxxxxx
online.com:
I think you can have an ordered table in SQL Server if you are using a
clustering index.
You think wrong. If you don't use an ORDER BY clause,
the returned order is undefined.
Sure, if you have a clustered index, AND you're only
selecting from one table, AND you're not using a where
clause that causes the optimizer to choose differently,
AND the phase of the moon is just right, THEN you **MIGHT**
get an ordered set.
In fact, that's pretty much guaranteed to work, right up
until you're demo'ing your project for the clients.
.
- References:
- Insert a record in a particular place
- From: surya
- Re: Insert a record in a particular place
- From: David Portas
- Re: Insert a record in a particular place
- From: Ralph Ganszky
- Insert a record in a particular place
- Prev by Date: Re: SQL Server 2005: CLR functions vs SQL functions
- Next by Date: Moving Log Shipping Monitor
- Previous by thread: Re: Insert a record in a particular place
- Next by thread: Oracle Server Quick Reference Guide
- Index(es):