How to remove the .(dots) if they are existing using sql
779320Mar 31 2011 — edited Mar 31 2011Hi 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