You could cast your result as numeric(x,2)
. Where x <= 38
.
select
round(630/60.0,2),
cast(round(630/60.0,2) as numeric(36,2))
Returns
10.500000 10.50
More Related Contents:
- Truncate (not round) decimal places in SQL Server
- Discard millisecond part from timestamp
- Why does SQL Server round off results of dividing two integers?
- I dont know sql syntax for my table [closed]
- Get top 1 row of each group
- How to cast the DateTime to Time
- Why is SQL Server losing a millisecond?
- Find a string by searching all tables in SQL Server
- Database Design for Revisions?
- Is there a way to define a named constant in a PostgreSQL query?
- How to assign an exec result to a sql variable?
- SQL ROWNUM how to return rows between a specific range
- Difference between Top and Limit Keyword in SQL
- Delete sql rows where IDs do not have a match from another table
- Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0
- Mysql: how to select groups having certain values?
- Slow simple update query on PostgreSQL database with 3 million rows
- Return setof record (virtual table) from function
- Given an RGB value what would be the best way to find the closest match in the database?
- How to export image field to file?
- Move SQL data from one table to another
- PARTITION BY with and without KEEP in Oracle
- Stored procedure that exports data into csv files only exports to one file
- Get Start and End Date from Week Number SQL Server
- Nested select statement in SQL Server
- PostgreSQL: Give all permissions to a user on a PostgreSQL database
- The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions
- COALESCE Function in TSQL
- SQL Sort Order with Null values last
- SQLite query, ‘LIKE’