Article View: borland.public.interbase.sql
Article #391Re: cumulative balance field
From: Bill Todd [TeamB]
Date: Fri, 09 May 2008 23:32
Date: Fri, 09 May 2008 23:32
17 lines
1667 bytes
1667 bytes
Isaac wrote: > What you mean by a stored procedure in a view ?? please explain more Write a selectable stored procedure that returns the data with the running balance included. Assume the procedure is named RunningBalance. Next create a view that uses the following SELECT. SELECT FLD1, FLD2, FLD3, ETC FROM RUNNINGBALANCE The section on views in the Data Definition Guide explains how you can add triggers to a view to allow you to update a view that would not normally be updateable. This would allow users of the application to edit the result set returned by the stored procedure. -- Bill Todd (TeamB)
Technical Details
Message-ID:
<4824df04$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.albasani.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<4822380f@newsgroups.borland.com> <48235cbc@newsgroups.borland.com> <4823719d$1@newsgroups.borland.com> <4824d84c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,7fe0f2b0b1ac1758
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd [TeamB]" <no@no.com>
Subject: Re: cumulative balance field
Newsgroups: borland.public.interbase.sql
References: <4822380f@newsgroups.borland.com> <48235cbc@newsgroups.borland.com> <4823719d$1@newsgroups.borland.com> <4824d84c@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.18.1.9
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 65.118.176.23
Message-ID: <4824df04$1@newsgroups.borland.com>
Date: 9 May 2008 16:32:20 -0700
X-Trace: newsgroups.borland.com 1210375940 65.118.176.23 (9 May 2008 16:32:20 -0700)
Lines: 17
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.albasani.net!news.isoc.lu!newsgroups.borland.com!not-for-mail