Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type mapping between VFP and SQL Server
Message
De
21/04/2005 02:11:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Data type mapping between VFP and SQL Server
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01006843
Message ID:
01006843
Vues:
77
Hi,
I have an custom program that will move data from SQL Server databaseA.tableA to SQL Server databaseB.tableB using SQL Passthrough. That is situation that, some mandatory fields in databaseB.tableB are not exist in databaseA.tableA.

I am trying to define 0 as logical default value (bit in SQL server) of those tableA mandatory fields in sql when retrieve tableA record. However, I faced problem that, VFP converted the the logical field mentioned above to .F./.T. for tableB which cause "operator/operand mismatch" when comparing them.

Any ideas to resolve it without change the major design?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform