Collections:
Approximate Numeric Literals in SQL Server Transact-SQL
What are approximate numeric literals supported in SQL Server Transact-SQL?
✍: FYIcenter.com
Approximate numeric literals in Transact-SQL are numbers written in
scientific notation formats.
Approximate numeric literals are used to provide values to approximate numeric variables or table columns like LOAT(24), DOUBLE PRECESSION, etc.
Approximate numeric literals are also used in approximate numeric operations in expressions and approximate numeric arguments in functions.
Here are some simple rules on how to write approximate numeric literals:
Here are some example on how to write exact numeric literals:
-- Identical approximate numeric literals PRINT 9E0; PRINT 9E; PRINT 9E+; PRINT 9E-; -- Approximate numeric literal as function argument PRINT SQRT(2.5E+1);
⇒ Binary Literals in SQL Server Transact-SQL
⇐ Exact Numeric Literals in SQL Server Transact-SQL
2017-05-05, 2962🔥, 0💬
Popular Posts:
Where to find reference information and tutorials on MySQL database functions? I want to know how to...
How To Install PHP on Windows in MySQL? The best way to download and install PHP on Windows systems ...
How to detect the collation coercibility associated to a given character string using the COERCIBILI...
How To Get Help Information from the Server in MySQL? While you are at the "mysql>" prompt, y...
How To Drop an Index in Oracle? If you don't need an existing index any more, you should delete it w...