About 5,400,000 results
Open links in new tab
  1. Getting right part of a decimal point in oracle sql

    Nov 28, 2020 · I am doing a calculation which results in a decimal number. I want to get the right right part of the decimal. Is this possible in Oracle SQL? Eg- 1/4 = 0.25. I need to get the 25 …

  2. Oracle SQL, separating a Number string to get whole number and decimal

    Dec 29, 2016 · Just Floor the Number to get the whole number and reduce the floor value from the number will give the decimal. select 1576.34653 num, floor (1576.34653) whole, …

  3. How to find values with certain number of decimal places using SQL

    Aug 7, 2015 · On SQL Server, you can specify: SELECT * FROM Table WHERE Value <> ROUND(Value,4,1); For an ANSI method, you can use: SELECT * FROM Table WHERE …

  4. 3 Ways to Format a Number to 2 Decimal Places in Oracle - Database.Guide

    Sep 10, 2021 · When using Oracle Database, you can use functions like TO_CHAR(number) to return numbers as a string, formatted to two decimal places (or however many decimal places …

  5. oracle - How to display a number with fixed number of digits …

    Aug 24, 2011 · I am looking for result 0123.56 and the following query should have worked. SQL> select to_number(123.56,'0999.99') from dual; select to_number(123.56,'0999.99') from dual * …

  6. How to Format Numbers in Oracle - Database.Guide

    Oct 7, 2021 · In Oracle Database, you can format numbers in many ways. For example, you can format a number as a currency, with commas and decimal points in the right place. You can …

  7. How can I get decimal part of a number? - Oracle Forums

    Mar 11, 2009 · If a Have a decimal number, I want to get the decimal part. Example ( 33.455 should return 455) Thanks! Edited by: fvilaca on Mar 11, 2009 6:32 PM.

  8. How to Retrieve the Value after a Decimal Point - Databases ...

    Nov 8, 2006 · In 10g and later, you can use Oracle’s regular expressions features to do exactly this. You could structure a select to look for the period and return everything after. You could …

  9. SQL TRUNCATE - Truncating Numbers in SQL - SQL Tutorial

    Summary: in this tutorial, you will learn how to use the SQL TRUNCATE() function truncate a number to a specified number of decimal places. The following shows the syntax of the …

  10. SQL - How do I get only the numbers after the decimal?

    Aug 5, 2010 · If you want to select only decimal numbers use this WHERE clause: (CAST(RIGHT(Myfield, LEN( Myfield)-CHARINDEX('.',Myfield)+1 ) AS FLOAT)) <> 0 If you …

  11. Some results have been removed
Refresh