-
Print Position of Char
How to print the position of the char in a given word I have a input like: Column_name: Indicator YNNYYN NNNYYN YYYYYN NNNNNN REQUIRED O/P: Where the Y is present in a given string, i want position of the string with CONCATENATE of P Letter. o/p: P1 P4 P5 P4 P5 P1 P2 P3 P4 P5
-
Record to Column
I have a record like below: avi,mahi,virat,mahi,avi,virat,mahi,virat,avi Output should be: avi1 mahi1 virat1 mahi2 avi2 virat3 mahi3 virat4 avi3 Please suggest how can I achieve this.
-
Fetch Next Record Data
How can we fetch next record data for a particular field in ab initio? i/p id sal 101 500 102 800 103 900 105 200 o/p id sal Pre_sal 101 500 0 102 800 500 103 900 800 105 200 900