Free for PREMIUM members
[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now
You cannot divide by zero in PHP
Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
cast(colname/(select CASE WHEN sum(colname)=0 THEN 1 else sum(colname) END from file where not colname='Total') * 100 as decimal(5,2))
Open in new window
Author Closing Comment
We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.
Join & Ask a Question
Join our community for more solutions or to ask questions.
For immediate help use Live now!