Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apex 21.1 data load definition, how to use regexp_substr (no pl/sql option) in new format

dchuckDec 15 2021 — edited Dec 21 2021

Previously, in data load definition, I used rule type: plsql expression to transform upload data for a column from csv to a number column (below example). This option is no longer present, and I could not determine from the documentation, the correct way to utilize this function in the rule types/expressions. I am unsure how to utilize the new data profile replace expression/options to perform the same function for the new data load profile.
Previous format (legacy data load), it would transform the column to just the number section prior to the | symbol:
Column: A
RuleType: PLSQL Expression
Expression1: REGEXP_SUBSTR(:A, '[^|]+|?')
Example Input for column A: 111111 | Jarvis(Name)
Table Column A after data load: 111111

Comments
Post Details
Added on Dec 15 2021
2 comments
1,368 views