Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type mapping between VFP and SQL Server
Message
De
22/04/2005 07:19:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/04/2005 02:11:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
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:
01007400
Vues:
17
>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

John,
Why don't you directly move from A to B?

Insert into databaseB..TableB select < fieldlist > from databaseA..TableA

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform