Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CAST problem ...

 
   Database Forums (Home) -> Progress RSS
Next:  Wanted Progress database developers  
Author Message
kancelaria

External


Since: Jun 05, 2006
Posts: 1



(Msg. 1) Posted: Mon Jun 05, 2006 3:05 am
Post subject: CAST problem ...
Archived from groups: comp>databases>progress (more info?)

Hi,

MFG/PRO on Progress RDBMS on Linux. SQL Expolorer.

Part of SELECT below rounds result to INTEGER.

SELECT ....
SUM(
cast(
case when acd_year < 2006
then cast(acd_amt as NUMERIC(25,10))
else cast(0 as NUMERIC(25,10))
end
as NUMERIC(25,10))
) BO_WN,

from pub.acd_det
.....

Where the problem is ?
Any help ...


Adam

 >> Stay informed about: CAST problem ... 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Progress All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]