Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: OO and IBM z series COBOL was Re: Discussions of COBOLphilospphy
On Fri, 12 Oct 2007 14:24:40 +1300, "Pete Dashwood" <dashwood@removethis.ent
ernet.co.nz>
wrote:

>Going for stored procedures is a conceptual shift.
>
>Conceptually it says: " I have this repository with my data on it. Now I'm
>going to make it more than just a data storage entity, I'm going to make it
>"smart".
>
>Instead of building the "smartness" into application code, it is inherent i
n
>the database. The DB is smart enough to provide information derived from an
y
>number of tables, it can "relate" fields so that when one field is updated
>somewhere, another field (or fields) derived from it, or connected to it, i
s
>calculated (maybe even in another table) and updated also. The opportunitie
s
>are almost infinite.

If it were designed well, it wouldn't need to be smart because it wouldn't h
ave any
dependencies (except keys). It would be in normal form.

The exception is reports, which can be kept up to date automatically by mate
rialized
views.

A GOOD use for triggers is leaving audit trails. When triggers, rather than 
applications,
are used,  the audit cannot be bypassed by utilities such as SQLPLUS and TOA
D, nor my
misbehaving applications.

Report this thread to moderator Post Follow-up to this message
Old Post
Robert
10-12-07 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:46 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.