Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DISTINCT changes datatype
Message
 
 
À
12/05/2010 11:41:48
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
Divers
Thread ID:
01464251
Message ID:
01464307
Vues:
44
>>In other words, why do you need to go to MySQL at all to get this result?
>
>Because it was Tuesday and that's the day I post pointless quesstions on UT.
>
>Because I simplified a different query to focus on what I considered a strange result. Would it really have mattered if I had posted
>SELECT < myFieldList including a bit field >
>and the bit field is Logical in the resulting cursor
>SELECT DISTINCT < myFieldList including a bit field >
>and the bit field is now Character

Can you try Fabio's alternative even for your complex case (e.g. put all fields into GROUP BY)?

I don't really use MySQL but I saw threads here that bit type comes as char before.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform