Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cast() is evaluated for every record
Message
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00940524
Message ID:
00940776
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform