Oracle Apps Fusion Blog(Forms, Reports, Oracle Application Technical, SQL, PL/SQL, OAF)
Monday, October 23, 2017
Query to Spell a given Number
SELECT DECODE (SIGN ( :N), -1, 'Negative ', 0, 'Zero', NULL)
|| DECODE (SIGN (ABS ( :N)),
+1, TO_CHAR (TO_DATE (ABS ( :N), 'J'), 'Jsp'))
FROM DUAL
/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
APEX$TASK_PK
APEX$TASK_PK is a substitution string holding the primary key value of the system of records
No comments:
Post a Comment