|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
If I use System_Row# in a SELECT with ORDER BY, can I assume that the System_Row# will always match the requested order?
Table1: Col1 --- C B A SELECT System_Row# AS ID, * FROM Table1 ORDER BY Col1; Result: ID Col1 -- --- 1 A 2 B 3 C This will always be the result? or there is a chance that the System_Row# could be applied before the table is ordered? (As happen with IDENTITY in MySQL http://support.microsoft.com/kb/273586/en-us?fr=1) |
|
#2
|
|||
|
|||
|
> If I use System_Row# in a SELECT with ORDER BY, can I assume that the
> System_Row# will always match the requested order? Yes; it is processed after any ORDER BY clause. -- Eivind Bakkestuen [NDD] |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SetRange doubt... | Clément Doss | nexusdb.public.support | 0 | 1st March 2012 01:09 PM |
| Still restrictions on SYSTEM_ROW#? | Jan-Christian | nexusdb.public.support.sql | 2 | 7th May 2010 02:35 AM |
| System_ROW# | Diniz \(Deltress\) | nexusdb.public.support.sql | 15 | 2nd June 2007 12:05 AM |
| Order by system_row# | Ole Willy Tuv | nexusdb.public.support.sql | 3 | 2nd October 2003 10:14 PM |
| System_row# | Ole Willy Tuv | nexusdb.public.support.sql | 3 | 2nd October 2003 08:48 PM |