Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Petronas
Posting Yak Master
134 Posts |
Posted - 2012-02-02 : 16:19:11
|
| Hi All, I have the below query and it is showing me zero as the percentage for all.select (Failed_Tries)/(nullif(Initial_Requests,0))*100 as percentage from #Temp_finalI am not sure what I am doing wrong. Thanks in advance,Petronas |
|
|
Petronas
Posting Yak Master
134 Posts |
Posted - 2012-02-02 : 16:21:37
|
| Sorry, was not converting it to float . Worked now. |
 |
|
|
|
|
|