My Oracle Support Banner

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

Last updated on SEPTEMBER 02, 2021

Applies to:

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


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



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

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