> However there are positive sides to the stored procedure aspect > though but they have nothing to do with performance or security. They > have everything to do with how you look at things. If you think an RDBMS > should provide the first 'tier' in a system, which automatically implies > it should offer some kind of API, stored procedures are the way to go. > It's defining the RDBMS' stored proc API as a service. You can also > provide that service by a tier outside teh RDBMS though, for example > with a DAL, written using an O/R mapper.
>As for your statement above, there is another point of view different than >the >database as "first tier", database as an external api, and a transparent >view >of a database offered by OR tools. I blogged about it.. I see lots of discussion and Boggs ;-D about Stored Procedures vs. Static Queries. These however are only two of many ways to properly exploit any good SQL Server. What about Functions, User Functions, User Types, or even Indexed Views (a.k.a. materialized views in Oracle). I know I could not write an application without a Function in it, so why should my DB be any different? I know this is not usually the "Business" or Realm of application developers to make such radical changes in the Database Schema. I have discovered though that these RDBMS features are some of the things that make my work with MS SQL 2000 seem more fulfilling than runtime queries to an Access Database via an ODBC DSN. That is my $0.002 on the whole thing. =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
