Also from your link (it’s actually the first line):
Approximate-number data types…
If you want exact precision, don’t use float
.
That being said, there is a function STR() specifically for converting float
to a character data type.
More Related Contents:
- T-SQL: Opposite to string concatenation – how to split string into multiple records [duplicate]
- What is the best way to create and populate a numbers table?
- Sql Server string to date conversion
- SQL Server query to find all permissions/access for all users in a database
- How to get Time from DateTime format in SQL?
- Natural (human alpha-numeric) sort in Microsoft SQL 2005
- SQL Server IN vs. EXISTS Performance
- Cannot truncate table because it is being referenced by a FOREIGN KEY constraint?
- How much size “Null” value takes in SQL Server
- SQL Server Pivot Table with multiple column aggregates
- PIVOT in sql 2005
- What is the maximum characters for the NVARCHAR(MAX)? [duplicate]
- Atomic UPSERT in SQL Server 2005
- Do I really need to use “SET XACT_ABORT ON”?
- SQL Server sp_msforeachtable usage to select only those tables which meet some condition
- Is it possible to force row level locking in SQL Server?
- SQL Server ORDER BY date and nulls last
- SQL Server – Dynamic PIVOT Table – SQL Injection
- How to remove accents and all chars a..z in sql-server?
- How to query values from xml nodes?
- How to query for Xml values and attributes from table in SQL Server?
- Unable to begin a distributed transaction
- What happens to the primary key Id when it goes over the limit?
- What is the point of “Initial Catalog” in a SQL Server connection string?
- How do you kill all current connections to a SQL Server 2005 database?
- SQL Server recursive query
- Milliseconds wrong when converting from XML to SQL Server datetime
- nvarchar(max) vs NText
- Difference between database and schema
- Forgot SQL Server Password