Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continuous invoice numbers
Message
De
15/06/2012 04:39:02
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
14/06/2012 10:27:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Database:
MS SQL Server
Divers
Thread ID:
01545936
Message ID:
01546064
Vues:
74
>Database independent is a lofty goal, but, IMO, it's not a good one. It means all your SQL has to be very generic and prohibits you from taking advantage of specialized processing, commands, datatypes, etc. You are prohbited from using stored procs and have to do all the SQL statements yourself inside the application.

Good is in the eye of the beholder. Your SQL need not be too generic, if you're willing to maintain separate versions of some SQL statements - that's compared to having to have separate versions of everything on each database. Doing SQL inside the app is much more flexible, IMO, because you can cook the where clause any way you like beforehand, within the same code that uses the results, not in a separate location (i.e. db server). That also means the code isn't as much distributed, so it's all maintained in one place - which is important to me, fewer places to forget :).

Let's not forget that some of the TSQL code can get really ugly, because of the workarounds one has to use for the functions absent in it. Just yesterday I saw a devious kludge which imitated a bitset() function.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform