Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chave composta
Message
De
13/12/2004 17:16:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00968849
Message ID:
00968919
Vues:
8
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform