is there any way to convert a date into Julian numbers and spell the number as is done in Oracle to_date function. Please help how to do that in DB2 FOR EXAMPLE ::-- select to_char(to_date(009341,'J'), 'JSP') "WORDS" from DUAL;
相关问题
- What is the best way to handle BOOLEAN values in D
- SQL1032N No start database manager command was iss
- COBOL DB2 program
- SQL LIKE Column Value Plus Wildcard DB2
- copying a very large table from one DB2 to another
相关文章
- Escape percentage sign DB2 SQL
- DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703 [clo
- Extra rows being received when matching pairs in S
- How to check DB2 SYSADM or SYSCTRL authorization f
- Which is the Best database for Rails application?
- How do I get connection pooling working on a PHP-C
- Why can't my As400 select from a newly created
- Where do I download JDBC drivers for DB2 that are
Not that I am aware of. You might need to roll your own. E.g. this will count to 100. I'll leave it as an exercise for the reader to create a second UDF that can then count up to the billions..
E.g. a second UDF such as this will get you up to
Nine Hundred and Ninety-Nine
.. just extend the logic to cater for thousands etc