Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Does DB2 support -0(negative zero) in Decimal type

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
aravindababua

New User


Joined: 25 Jun 2007
Posts: 1
Location: chennai

PostPosted: Mon Jun 25, 2007 7:11 pm    Post subject: Does DB2 support -0(negative zero) in Decimal type
Reply with quote

Hi Friends,
For a requirement i want to store -0 (Negative Zero) in DB2 table the column type to which i need to negative zero is Decimal(9,2).But -0 is not getting stored in table its getting stored as +0(positive zero). i want to know does Db2 does'nt support -0 in Decimal type columns?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 25, 2007 7:36 pm    Post subject:
Reply with quote

Hello,

What is the requirement to have a negative zero? Zero is just that - zero.

In any collating sequence/system i've ever seen, zero comes between +1 and -1. How would your requirement not match this?

If you explain your requirement, we may be able to offer suggestions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts Technical Support Engineer (DB2 on z/... Kenneth Barton Lasky Mainframe Jobs 0 Fri Aug 25, 2017 12:14 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us