How To Include Numeric Values in SQL statements?

Answer

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

All sql dba Questions

Ask your interview questions on sql-dba

Write Your comment or Questions if you want the answers on sql-dba from sql-dba Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---