Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A database challenge
Message
De
03/03/2008 18:46:11
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
03/03/2008 15:33:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01295541
Message ID:
01298282
Vues:
32
One of the big reasons I prefer SPs is management issue of data access across all applications (which might be written in different tools) hitting the data. The code management issue will usually scale out better with SPs.

I cut my C/S teeth in environments with multiple vendors, generally with one vendor that "owns" the database. Yes of course that vendor has to control access to the database if they are to support their own product- if other vendors can screw data, it may be impossible to support. Classically this control is achieved using SPs, or Views in the case of Oracle. However, the current scenario is a read-only select case. One might argue that the support issue is of little significance in a read-only case and that most vendors are capable of putting together a read-only select without needing daddy to give them a SP. ;-) However, IMHO a SP still makes sense if some of the data is sensitive (pricing, patient records etc) or table/index structures mean special techniques are needed to get the best of it, or if some of the inside stuff is really special and carries your competitive advantage... yeah I can think of lots of reasons. FWIW, in Oracle you could offer a set of Views customized with allowed/needed data for each vendor , with joins in place to prevent bozos creating unjoined queries that return billions of records. ;-)

But code management across apps? I don't get that at all. Surely the purpose of a multi-vendor/app scenario is that no one vendor has all the niche expertise. In such a case, surely extracted data is just the fuel for the smarts that follows? A vendor with lots of clever technology may not be keen to hand it to you to include in a SP- actually they may prefer to download data and munge it locally. Possibly even using a naughty tool that specializes in such behavior. ;-)
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform