Subject | Re: SQL Help |
---|---|
Author | dianeb77@hotmail.com |
Post date | 2001-03-19T13:51:26Z |
--- In ib-support@y..., "Charlie" <charliekerscher@m...> wrote:
Which form of "this doesn't work" are you experiencing?
For example, are you getting a syntax error? (Looks like you have an
extra right paren in your example, by the way.) Wrong results? No
results? Slow results? Smoke spewing from server? [Visit from the
Metric Commission?]
Is this the only thing in the select list?
Cheers,
db
> I'm using Delphi 5, Interbase 6. I have an Items table that haswidthstring
> and heightstring as fields. <... formula used to calculate squarefeet snipped ...>
>feet. I've
> How do I use a select sum statement in an SQL to sum the square
> tried:0.9999) /
> select sum(trunc(widthstring + 0.9999) * trunc(heightstring +
> 144)) but this doesn't work.[Ah yes, the ever-elusive "this doesn't work".]
Which form of "this doesn't work" are you experiencing?
For example, are you getting a syntax error? (Looks like you have an
extra right paren in your example, by the way.) Wrong results? No
results? Slow results? Smoke spewing from server? [Visit from the
Metric Commission?]
Is this the only thing in the select list?
Cheers,
db