Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cast() is evaluated for every record
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00940524
Message ID:
00940776
Vues:
17
>Fabio,
>
>It's documented UNION behavior not a bug. From the help, "When two columns of different data types are involved in a UNION operation, the data type with the lower precedence is converted to the data type with the higher precedence".

Too bad CAST() can not be designed to supercede precedence since its design is to CONVERT data types AND the UNION definition came about BEFORE the CAST function. Seems like a bad case of divergence of logic to me.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform