Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chave composta
Message
From
13/12/2004 17:16:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00968849
Message ID:
00968919
Views:
7
str() ocupa muito espaço - 10 bytes para um integer. É melhor ussar bintoc(), que usa 4 bytes para um integer:

index on bintoc(Field1) + bintoc(Field2) tag MyTag

O SET COLLATE deve ser = "MACHINE". Se nao ussar SET COLLATE, nao precoupe - isto é o valor default.

>Oi Pessoal,
>
>alguém sabe se é possível e como fazer, para criar um índice primário composto por 2 campos integer no banco nativo do VFP ?
>
>obrigado,
>
>Leandro Macedo
>http://br.thespoke.net/MyBlog/lmacedo/MyBlog.aspx
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform