Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index
Message
From
28/06/2001 05:54:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/06/2001 05:37:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Index
Miscellaneous
Thread ID:
00524566
Message ID:
00524570
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform