Pro*C Compilation Fails With ORA-01041 When Using Database Link With COMMON_PARSER=YES

(Doc ID 2304381.1)

Last updated on SEPTEMBER 11, 2017

Applies to:

Precompilers - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Pro*C pre-compilation fails with "ORA-01041 internal error" when using database link with COMMON_PARSER=YES option.

For example the below sample code when compiled in 12.1.0.2 and lesser version will fail with the said error.

 

Changes

Upgraded the client version to 11g or higher or added the COMMON_PARSER=YES option as a precompiler option.

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