Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Converting Numbers to Words:

This is a discussion on Converting Numbers to Words: within the Oracle forums, part of the Databases category; Converting Numbers to Words: TO_CHAR(TO_DATE(numbertobeconverted,'J'),'JSP') 'J' stands for Julian date conversion (date to number), while 'JSP' stands for Julian dates SPelled. single line orcle sql query: select ('Rs. ' || ...

Go Back   Geeks Talk > Databases > Oracle
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2008
Contributing Member
 
Join Date: May 2008
Location: Chennai
Posts: 30
Thanks: 6
Thanked 0 Times in 0 Posts
sureshkumar.mtech is on a distinguished road
Thumbs up Converting Numbers to Words:

Converting Numbers to Words:

Quote:
TO_CHAR(TO_DATE(numbertobeconverted,'J'),'JSP')

'J' stands for Julian date conversion (date to number), while 'JSP' stands for Julian dates SPelled.

single line orcle sql query:

select ('Rs. ' || (to_char(to_date(40000,'J'),'JSP')) || ' only.') NUMBER_WORD from dual;

Result:

NUMBER_WORD
------------------------
Rs. FORTY THOUSAND only.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-09-2008
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,853
Thanks: 9
Thanked 168 Times in 142 Posts
debasisdas has a spectacular aura aboutdebasisdas has a spectacular aura about
Re: Converting Numbers to Words:

Ok then ,now you should explain what is Julian and what that means and what is the basic of calculation .
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Converting my http:// to https:// ??? arodriguez Web Servers 3 06-06-2008 05:49 AM
Converting batch CICS environment Carmine DB2 0 05-01-2008 11:30 AM
Converting single character to string Geek_Guest Java 2 08-24-2007 09:42 AM
Error Converting VSAM to DB2 Geek_Guest DB2 0 08-21-2007 11:25 PM
Few Words!!! sutnarcha Personality Development 0 03-30-2007 12:30 PM


All times are GMT -4. The time now is 07:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved