Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Integer/date compound index
Message
De
28/06/2007 11:44:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/06/2007 11:41:56
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:
01236419
Vues:
15
>>>>>>Hello all
>>>>>>
>>>>>>What is the best way to use an integer field plus a date field to create an index?
>>>>>>
>>>>>>TIA
>>>>>Depends.
>>>>>What you need might be bintoc(fi)+dtos(fd), dtos(fd)+bintoc(fi), padl(fi,10,'0')+dtos(fd) and vice versa.
>>>>>Cetin
>>>>
>>>>details, details. you're killing me with details. :)
>>>>
>>>>thanks.
>>>
>>>Well you're lucky I didn't ask why would you need such a compound key:)
>>>Cetin
>>
>>
>>Actually, I think that is a good question.
>>I'm trying to create a relationship between two tables through record ids, but I want the child table to be in reverse date order.
>>
>>Do you think I going about it correctly?
>
>Sure not. You don't need in this relationship :).

Not? I got record Id something like an emp_id.
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