Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Integer/date compound index
Message
De
28/06/2007 12:20:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01236371
Message ID:
01236453
Vues:
8
>>Integer to numeric? Then padl(myNumField,10,'0')+dtos(). Numerics didn't sound as an id to me and couldn't determine such a usage.
>>Cetin
>
>I'm not talking about IDs anymore.
>
>I defined a new simple problem:
>
>Have a numeric field (not an ID) in the ascending order and the date field in the descending order.
>
>Both fields may be blank or null.
>
>Don't use a select statement :)

padl(iF,20)+trans(int(99999999-VAL(DTOS(nvl(dF,{})))))

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform