BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

in line if statement

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Morpheus
Guest





PostPosted: Thu Apr 29, 2004 12:30 pm    Post subject: in line if statement Reply with quote



Is there such a thing as an in-line if statemet in IB? I need to create a
view which returns two columns, both of which are calculated. In each
calculation, a multiplication takes place, and in many cases, either
argument might will be a zero. This causes some of the results to be zero
when in fact they should not be.
Regards,
Norman


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Thu Apr 29, 2004 2:02 pm    Post subject: Re: in line if statement Reply with quote



On Thu, 29 Apr 2004 14:30:35 +0200, "Morpheus"
<morpheusNOPSAM (AT) redpoint (DOT) co.za> wrote:

Quote:
Is there such a thing as an in-line if statemet in IB?

No. Use UNION ALL instead.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.