I need the third value, fourth value, fifth value and seventh value after @ separated string . if no value present between @@ ,it should be also considered and value needed as null in oracle. i need to use this value from a select statement
ex :N@@N@14/12/2023@WAN HAI 325@@05/01/2024@19/01/2024@29/12/2023@@@@
third value after @ needed is 14/12/2023 , Fourth value -- WAN HAI 325 ,fifth value -null ,seventhvalue -- 19/01/2024
ex:N@@N@06/10/23@@2310206@17/11/23@30/11/2023@11/10/23@@@@@@@@
value after third @ needed is 6/10/2023 , Fourth value --null,fifth value -2310206,seventhvalue -- 30/11/2023
Regards sathish
One option is to use combination of
substr + instrfunctions.Sample data:
Query: