Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Join on different data types
Message
De
21/02/2005 13:51:28
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
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00988924
Message ID:
00988951
Vues:
30
>The INT() function accepts a numeric argument only.
... on TableA.Field1 = INT(VAL(TableB.Field2))
Also, it'll not be Rushmore optimizable if there's no index on INT(VAL(Field2)) in TableB.

Yes, right; I confused int() with val(). Also, I suspect that when converting to character, it may be easier to control the size of the key, at least in older VFP options.
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