Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

how can i format my query results

$
0
0

This may seem like a beginner question and it probably is, but i am running a query in sql and the results it returns is something like 0.01666.

this is correct database wise but is completely wrong humanwise. (it is a 100 base time number instead of a 60 base), So i need to divide this number by 1.6 in order to get my actual time.

How, when i run an SQL command, can i get SQL to format the result of this one column so that it returns

value / 1.6 (instead of just value)

normally i would handle this in PHP and format it that way BUT in this instance i am not able to do that.

Thanks


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>