我需要根据数据以自定义方式处理Name列,如下所示。我需要对满足以下情况的字符进行限制我们在oracle中是否有针对这些情况的单独函数?
Check Example
1 First letter of each word is upper case (H & S in this example ) Hugo Smith
2 First letter following a space is upper case(B ) James A. Bond
3 First letter following a '/' is upper case(W, T) Tonne/Wickey/Trisha
4 The 'II' and 'III' suffice are always all upper case Larry III
5 First letter following an apostrophe is upper case(H) Chris O'Harris
6 First letter following a dash is upper case(O) Man-Oreoa
7 First letter following a '&' is upper case(T) Hary,James&Tom
8 the acronym 'CFP' is always all upper case Tanner, CFP
9 First letter following a period is upper case(P) J.Paul
答案 0 :(得分:0)
已使用INITICAP功能。 对于剩余的项目,我使用了INITICAP + REPLACE函数