Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing Question Concerning .NULL. Values
Message
 
To
25/04/2006 08:23:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01116289
Message ID:
01116292
Views:
14
This message has been marked as the solution to the initial question of the thread.
>I've create an ascending index on a column that contains a .NULL. value. The records containing the .NULL. are at the top of the record set with the ascending values starting after the last .NULL. record. I would like ALL of the .NULL. records to be after the last ascending value (see sample below). Is there a way to have the .NULL. records at the bottom?
>
>
>Name    Rank
>Robert     1
>Bill       2
>Mary       3
>Tom        4
>Linda   .NULL.
>Sam     .NULL.
>
>
>Actually, I'm changing the .NULL. indicator to 'No Rank' using SET NULLDISPLAY TO 'No Rank' but this doesn't change the way the records are diplayed, as the 'No Rank' records still end up at the top of the list and I want them at the bottom.
>
>Thanks,
>Robert

On top of my head.
INDEX ON NVL(Rank,9999999) TAG ....
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform