🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #81

Re: can I use sum with computed by

#81
From: Bill Todd [TeamB]
Date: Tue, 27 May 2008 23:04
11 lines
1546 bytes
Isaac wrote:

> sorry I was not quit clear I want the contrary I want to use select
> sum() to return the computed by value

I do not recall if that  will work or not but it is a very bad idea.
The SELECT SUM will run _every_ time the record is accessed whether you
need the sume or not. This is likely to cause poor performance.

-- 
Bill Todd (TeamB)
Technical Details
Message-ID: <483c937b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <483c6824@newsgroups.borland.com> <483c6a5b@newsgroups.borland.com> <483c700d$1@newsgroups.borland.com> <483c78e5$1@newsgroups.borland.com> <483c7b10@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,f81bba07595296f5
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd [TeamB]" <no@no.com>
Subject: Re: can I use sum with computed by
Newsgroups: borland.public.interbase.sql
References: <483c6824@newsgroups.borland.com> <483c6a5b@newsgroups.borland.com> <483c700d$1@newsgroups.borland.com> <483c78e5$1@newsgroups.borland.com> <483c7b10@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: 63.147.41.232
Message-ID: <483c937b$1@newsgroups.borland.com>
Date: 27 May 2008 16:04:27 -0700
X-Trace: newsgroups.borland.com 1211929467 63.147.41.232 (27 May 2008 16:04:27 -0700)
Lines: 11
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail