Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index
Message
De
28/06/2001 05:54:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/06/2001 05:37:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Index
Divers
Thread ID:
00524566
Message ID:
00524570
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>Ýliskilendirilmiþ iki tabledan her hangi birinin order'ý iliþkilendirilen fieldlar haricinde farklý bir field olabilirmi?
>Olabilirse bu nereden yapýlýr?
>
>Cevabýnýz için þimdiden teþekkürler.

Zeki,
ZeDa ? Zeki+Arda ? :)
Eger parent icin soruyorsan o serbest istedigi order i kullanir. Child biraz kisitli, iliskiyi kaybetmemesi lazim. Bunun icin order degistireceksen combined index kullan. Ornek :

Parent.Pkod - Parent primary key
Parent istedigi orderi kullanabilir
Child.Pkod - Parent.Pkod ile iliskileniyor
Degistirmek istedigin field mesela GelTarih
index on pkod+dtoc(GelTarih,1) tag GelTarih
Iliski varken de order i GelTarih'e kurabilirsin cunku baslangici hala pkod.
seek kullanirken aynen indexteki gibi kullan. Ornek :

ldDate = {^2001/17/02}
select parent
skip
seek(pkod+dtoc(ldDate,1),'child','geltarih')

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
Répondre
Fil
Voir

Click here to load this message in the networking platform