Calling Foreign Database Stored Procedure as Oracle Function Fails With ORA-06571 Using Oracle Gateway (Doc ID 1079048.1)

Last updated on AUGUST 07, 2013

Applies to:

Oracle Database Gateway for SQL Server - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1]
Information in this document applies to any platform.

Symptoms

To call a foreign database stored procedure from an Oracle function using an Oracle Database Gateway fails with error:

SQL Error: ORA-06571: Function <name>  does not guarantee not to update database
ORA-06512: at "TG4MSQL.TEST_GATEWAY", line 42

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms