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!

How to remove the .(dots) if they are existing using sql

779320Mar 31 2011 — edited Mar 31 2011
Hi friends,
I have a string from which I want to trim it and take only the value before .(DOT)..if dot is not there i must take the whole string

for ex Accountant. is the string then I should get that as Accountant and also should check that it should only consider the last dot in the string and give the
string before the .
like Senior.Accountant. it should give me as Senior.Accountant
if the string is ending with out a dot it doesnt matter


Please help
Thanks
This post has been answered by 847514 on Mar 31 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2011
Added on Mar 31 2011
2 comments
1,812 views