Try this
SELECT CONVERT(DECIMAL(10,2),YOURCOLUMN)
such as
SELECT CONVERT(DECIMAL(10,2),2.999999)
will result in output 3.00
More Related Contents:
- Convert text to system date format [duplicate]
- How to get a particular preceding value of a column in SQL [closed]
- Syntax not valid on word ‘ON’ in SQL join statement [closed]
- Need SQL Script
- SQL update from one Table to another based on a ID match
- SQL JOIN vs IN performance?
- Can a foreign key be NULL and/or duplicate?
- TSQL Pivot without aggregate function
- How to generate a range of dates in SQL Server
- SQL RANK() versus ROW_NUMBER()
- Why are there gaps in my IDENTITY column values?
- Check if a row exists, otherwise insert
- Export SQL query data to Excel
- How can I do a BEFORE UPDATED trigger with sql server?
- How do I pass a list as a parameter in a stored procedure?
- SQL SERVER: Get total days between two dates
- Alter user defined type in SQL Server
- Deferrable Constraints in SQL Server
- Store multiple bit values in a single table column
- SQL Server equivalent to MySQL enum data type?
- How do I loop through a set of records in SQL Server?
- Create parameterized VIEW in SQL Server 2008
- How to create Temp table with SELECT * INTO tempTable FROM CTE Query
- Group All Related Records in Many to Many Relationship, SQL graph connected components
- SQL Server SELECT INTO @variable?
- Select a column if other column is null
- How to subtract 30 days from the current date using SQL Server
- Use one CTE many times
- How to do a case sensitive GROUP BY?
- How to automatically generate unique id in SQL like UID12345678?