Extracting Segments Around PO Using REGEXP Functions
Sometimes strings contain identifiers like PO12345678 within larger text. We can extract these segments using REGEXP_REP...
Search guides, SQL, error codes, and procedures — or browse by topic below.
388 guides · 8 topics
CREATE, ALTER, DROP StatementsCREATECREATE TABLE departments ( dept_id NUMBER PRIMARY KEY, dept_name VARCHAR2(50) );...
phpMyAdmin & cPanelphpMyAdmin FeaturesBrowse TablesRun QueriesImport/Export DatacPanel IntegrationMySQL Database WizardphpMyAdmin Tool
Conversion FunctionsConversion FunctionsTO_CHAR(date/number, format) – convert to stringTO_DATE(string, format) – convert to dateTO_NUMBER(s...
SQL FunctionsTypes of SQL FunctionsOracle provides several built-in functions to process data. These are grouped into:String Function...
COMMIT, ROLLBACK, SAVEPOINTTransaction Control StatementsCOMMITCOMMIT;Makes changes permanent.ROLLBACKROLLBACK;Undoes changes since the last COMMIT...
API to Update FND_LOOKUP DECLARE l_lookup_type VARCHAR2 (250); l_lookup_code VARCHAR2 (250);...
Oracle SQL Performance & TuningOracle provides features and tools to analyze and tune query performance.Execution PlansI...
-- Ledgers SELECT LEDGER_ID, NAME, SHORT_NAME, DESCRIPTION, CURRENCY_CODE, CHART_OF_ACCOUNTS_ID, LEDGER_CATEGORY_CODE,...
Lists the Data Access Sets (GL access sets) the current user has access to — used as the LOV source for a "Data Ac...
Lists the Business Units the current BI Publisher user has data access to, based on their user role data assignments &md...
Lists the Data Access Sets (GL access sets) the current user has access to — used as the LOV source for a "Data Ac...
Updated Nov 29, 2026
security-parametersLists the Business Units the current BI Publisher user has data access to, based on their user role data assignments &md...
Updated Nov 20, 2026
security-parametersLists the Business Units the current user has procurement agent access to, via their PO agent assignment — used as...
Updated Nov 14, 2026
security-parametersLists the Ledgers the current user has direct data access to — used as the LOV source for a "Ledger" report parame...
Updated Nov 15, 2026
security-parametersLists the Fixed Asset Books the current user has data access to — used as the LOV source for a Fixed Assets report...
Updated Nov 14, 2026
security-parametersLists the Intercompany Organizations the current user has data access to — used as the LOV source for an intercomp...
Updated Nov 14, 2026
Guides filed under this topic.
Sometimes strings contain identifiers like PO12345678 within larger text. We can extract these segments using REGEXP_REP...
When the number of extracted segments isn’t fixed, unpivoting into rows gives flexibility. Instead of separate columns,...
Debug logs often embed numbers within text. To extract only the numbers:SELECT TO_NUMBER(REGEXP_REPLACE('INV#8674767JSDE...
For advanced cleaning, use TRANSLATE combined with REPLACE:SELECT TRIM(TRANSLATE(REPLACE(LOWER('INV#8674767JSDEPOSIT PO1...
Use REGEXP_INSTR to locate the starting position of tokens like PO:SELECT REGEXP_INSTR(REPLACE('INV#8674767JSDEPOSIT PO1...
Use LENGTH to measure the total size of your strings:SELECT LENGTH('INV#8674767JSDEPOSIT PO12345678') AS str_length FROM...
When working with hierarchical or grouped data in Oracle SQL, a common requirement is to aggregate values and then split...