Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 281 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 105 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
How to take integers from a column which are in different positions in each raw in OAC?
User_AYOKV
Rank 4 - Community Specialist
Eg : first raw value is 'abcdefgh, (2291)' and 2nd raw is 'abcde, (8124) abcdefg' and 3rd raw is 'abc, (1030) 2lmnop'. I need to take the first 2 integer after bracket. Substring is not working bcoz each raw integer is in different position. Is there any other way in OAC?
0
Answers
-
Hi,
You are almost there with the usage of SUBSTRING , all you need now is to use LOCATE to find the position of the bracket, and use that for your substring.
Use LOCATE as the beginning of the substring, with a +1 to not get the bracket but just the numbers after.
1
