If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Rounding the value

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-08, 06:32
vinomails vinomails is offline
Registered User
 
Join Date: Jun 2008
Posts: 6
Rounding the value

Hi,

I am new to Informix. Can any one tell me, how can i round the value in informix.

Regards,
Vinothkumar S.
Reply With Quote
  #2 (permalink)  
Old 07-02-08, 11:10
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
  #3 (permalink)  
Old 07-03-08, 06:06
sohel2 sohel2 is offline
Registered User
 
Join Date: Jul 2008
Posts: 1
Comments

Here is the sample data

memno|acct_num|routno|enrolldt|totalpaid|rpt_date
100|2222|3245|2/2/2002|10|Mar
120|4444|5678|3/2/2003|2|April
543|6666|7676|4/4/2005|20|May
999|8888|6900|6/7/2004|40|June



I need the data in the format below

memno|acct_num|routno|enrolldt|Mar|April|May|June
100|2222|3245|2/2/2002|10|0|0|0
120|4444|5678|3/2/2003|0|2|0|0
543|6666|7676|4/4/2005|0|0|20|0
999|8888|6900|6/7/2004|0|0|0|40
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On