• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Always ROUND UP to the next full GB?

ReCal

Newcomer
Joined
Jan 23, 2009
Messages
2
Reaction score
0
Points
0
Hi.
How can I always round up from 0.01GB to the next full 1GB?
SELECT node_name, CAST(FLOAT(SUM(reporting_mb)) / 1024 AS DEC(8,2)) FROM occupancy GROUP BY node_name
THX
Regards
Rene
 

ReCal

Newcomer
Joined
Jan 23, 2009
Messages
2
Reaction score
0
Points
0
SELECT node_name, CEILING((SUM(reporting_mb)) / 1024) AS "GiB" from occupancy group BY node_name
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 19 18.6%
  • Keep using TSM for Spectrum Protect.

    Votes: 61 59.8%
  • Let's be formal and just say Spectrum Protect

    Votes: 13 12.7%
  • Other (please comement)

    Votes: 9 8.8%

Forum statistics

Threads
31,798
Messages
135,581
Members
21,775
Latest member
oscar
Top