Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MySQL returns character for logical field
Message
De
22/01/2008 21:13:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
MySQL returns character for logical field
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01284338
Message ID:
01284338
Vues:
54
We're moving a table from VFP8 to MySql. To get the data from it we had been running the following
SELECT DISTINCT * FROM myTable
There are two logical fields which are returned. When the same query is run against the MySQL version, the logical fields are converted into Character (with 1's and 0's).

The good news is that there should not be duplicate records in the table and removing the DISTINCT portion gives me back the correct structure.

I'm curious if this is correct behavior, or if we have a problem with the migration. I'm also curious if this behavior would be repeated with a different back-end (SQL-Server, DB2, etc.)

Thanks to all...............Rich
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform