Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Init Cap for each word in a sentence

myCloudJul 13 2015 — edited Jul 13 2015

I would like to use the Initcap for each of the word in a sentence. For ex, if the column stores a value like 'payment due date' - I wanted that to be printed like 'Payment Due Date'.

CREATE TABLE Initcaps

  (Desc_txt VARCHAR2(150)

  );

INSERT INTO INITCAPS VALUES

  ('Payment due date'

  );

INSERT INTO INITCAPS VALUES

  ('Terms(no of payments)'

  );

INSERT INTO INITCAPS VALUES

  ('Conditions apply. see agreement'

  );

This post has been answered by aJohny on Jul 13 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2015
Added on Jul 13 2015
2 comments
469 views