My Oracle Support Banner

PLSQL Function with "PRAGMA UDF" Declared May Return Duplicate Values (Doc ID 3066305.1)

Last updated on JANUARY 07, 2025

Applies to:

PL/SQL - Version 23.3 and later
Information in this document applies to any platform.

Symptoms

A PLSQL function that has "PRAGMA UDF" declared inside it and is invoked multiple times during execution of a SQL statement may return duplicate values. The issue can be demonstrated using a simple testcase mentioned below.

As can be seen above, the values returned for columns 'ID' are duplicate in row# 3 and onwards.

Changes

The issue surfaced after upgrading the database to 23c.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.