Collections:
Entering Numeric Values in MySQL
How To Include Numeric Values in SQL statements in MySQL?
✍: FYIcenter.com
If you want to include a numeric value in your SQL statement, you can enter it directly as shown in the following examples:
SELECT 255 FROM DUAL; -- An integer 255 SELECT -6.34 FROM DUAL; -- A regular number -6.34 SELECT -32032.6809e+10 FROM DUAL; -- A floating-point value -3.20326809e+014
⇒ Entering Characters as HEX Numbers in MySQL
⇐ Concatenating Character Strings in MySQL
2018-03-31, 2306🔥, 0💬
Popular Posts:
How to change the data type of an existing column with "ALTER TABLE" statements in SQL Server? Somet...
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
How To Create a Table Index in Oracle? If you have a table with a lots of rows, and you know that on...