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 

No ABS() with BDE SQL?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
Anders LEE
Guest





PostPosted: Mon May 10, 2004 7:36 am    Post subject: No ABS() with BDE SQL? Reply with quote



I think the abs() function is defined in SQL-99 standard?
while BDE SQL is based on SQL-92??

So I am out of luck??

Can't think of an work around, doing it in 3 steps, first select all
the entries out & save to temp file (MakePermanent)
Then do an update AbsField with -AbsField where absField<0
Lastly select from that table to my report.

Fortunately, the table is small, so the speed is still acceptable.
Any suggestion for work around ??

P.S. I think of using SQRT( X * X ) , but unfortunately it is not
supported neither.
Back to top
Bill Todd (TeamB)
Guest





PostPosted: Mon May 10, 2004 12:43 pm    Post subject: Re: No ABS() with BDE SQL? Reply with quote



Local SQL (the dialect used by Paradox and dBase tables) is a subset
of SQL 92. For details of what is supported see the Local SQL help
file in your BDE directory.

--
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 (Desktop) 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.