The following select was pulled from this list; /* */ select case when SUM(BYTES) IS NOT NULL then CAST(SUM(BYTES) AS - DEC(40,2))/(1024*1024*1024) else ABS(CAST((0) AS - DEC(40,2))) end AS "Total Gi
Author: "Coats, Jack" <Jack.Coats AT BANKSTERLING DOT COM>
Date: Mon, 10 Mar 2003 10:50:19 -0600
Ok, this is my guess. ... /* */ select case when SUM(BYTES) IS NOT NULL then CAST(SUM(BYTES) AS - DEC(40,2))/(1024*1024*1024) else ABS(CAST((0) AS - DEC(40,2))) end AS "Total Gigabytes" from summary
Thanks Jack! It worked great! I was able to go back 31days as that is how much summary log that I keep. Normally, I have a script which runs in my morning process that sends a daily summary of GB's b