Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minimizing code changes when moving to SQL Server
Message
 
À
23/11/2005 17:46:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
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
Database:
MS SQL Server
Divers
Thread ID:
01071761
Message ID:
01071829
Vues:
18
>>I'm beginning a migration of our application from using VFP tables to using SQL Server. Rewriting the biz objects isn't too difficult since I've got some basic table insert/delete/update code. I've got a lot of report code though that for speed reasons, accesses the VFP tables directly to pull data. How can I minimze the changes to the report code when migrating to SQL Server 2005? Can I create a FoxPro remote view on the fly at the start of each report, that references the SQL tables, then from then on the code thinks it is accessing VFP tables?
>
>Yes you could but wouldn't SPT or ADO (CA) be better?

Is a remote view to SQL Server data on the same box, about as fast as SPT?

My fear with SPT is that the SQL synatx is different and more restrictive.

>VFP reports don't care about actual source as long as they can evaluate expressions (hope you don't mean you used tables in report DE and/or aliased field expressions).

I have a report object that has all of report code, then when all data retrieved into a single cursor, calls the report. Pretty typical I think.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform