We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 13
Weather Observation Station 13
Sort by
recency
|
1642 Discussions
|
Please Login in order to post a comment
MS SQL
Had to look up CAST(num1 AS DECIMAL(num2, num3)) where num2 is maximum length and maximum allowable is 38 num3 is amount of decimals
This function truncates the value num1
SELECT CAST(ROUND(SUM(LAT_N), 4) AS DECIMAL(10,4)) FROM STATION where LAT_N > 38.7880 and LAT_N < 137.2345;
select round(sum(LAT_N),4) from STATION where LAT_N between 38.7880 AND 137.2345;
SELECT ROUND(SUM(LAT_N),4) FROM STATION WHERE LAT_N>38.7880 AND LAT_N<137.2345;