Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting percentage column
Message
From
24/11/2016 10:43:06
 
 
To
24/11/2016 10:40:54
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows Server 2012
Miscellaneous
Thread ID:
01643908
Message ID:
01643909
Views:
31
Before posting, I tried by casting it to decimal. But, it had to be done with float:

ROUND(CAST((Country2.Compte * 100.0 / 78) AS FLOAT), 2) AS Percentage
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform