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
- 106 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
INSTR function missing in Logical SQL provided by OBI
Description
We are recently working on OBI and found that a powerful string function of Oracle SQL is missing in logical SQL of OBI
Use Case and Business Need
Hi All,
In OBI, we are missing the powerful function on Oracle SQL
INSTR(string, substring,position, appearance)
http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions068.htm
The 4th parameter is the key to its success after the nth apperance
But in OBI, we have only 2 functions
a) LOCATE(substring,string,position) -> gives the index where the substring occurs and start searches after the nth position
b) POSITION(substring,string) -> gives the index where the substring occurs
But it would be really useful if Oracle implements the INSTR function as part of logical SQL
There is also some active question around this function
https://community.oracle.com/thread/2265190
Regards,
Kiran Shenvi
Original Idea Number: 7ddbd831e9
Comments
-
You may use the following formula.
evaluate ('instr(%1, %2, %3, %4)', "Requisition Primary Location"."Location Level1 Name", 'a', 1, 2)
0 -
You may use the following formula.
evaluate ('instr(%1, %2, %3, %4)', "Requisition Primary Location"."Location Level1 Name", 'a', 1, 2)
0 -
You may use the following formula.
evaluate ('instr(%1, %2, %3, %4)', "Requisition Primary Location"."Location Level1 Name", 'a', 1, 2)
0 -
You may use the following formula.
evaluate ('instr(%1, %2, %3, %4)', "Requisition Primary Location"."Location Level1 Name", 'a', 1, 2)
0 -
Thanks Rachel.. this works perfect :-)
0 -
Thanks Rachel.. this works perfect :-)
0 -
Thanks Rachel.. this works perfect :-)
0 -
Thanks Rachel.. this works perfect :-)
0