Message
From
24/11/2016 10:43:06
Michel Fournier
Level Extreme Inc.
Petit-Rocher
,
Nova Brunswick
,
Canada
To
24/11/2016 10:40:54
Michel Fournier
Level Extreme Inc.
Petit-Rocher
,
Nova Brunswick
,
Canada
General information
Fórum:
Microsoft SQL Server
Category:
SQL syntax
Título:
Re:
Getting percentage column
Environment versions
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows Server 2012
Miscellaneous
ID da thread:
01643908
ID da mensagem:
01643909
Views:
33
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
Responder
Mapa
Visualizar o mapa desta thread
View the map of this thread starting from this message only
View
Visualizar todas as mensagens desta thread
Visualizar todas as mensagens desta thread a partir desta mensagem