My Oracle Support Banner

Ora-2122 On Exec Sql (Not-At) Open Or Fetch (Windows-specific) (Doc ID 1395413.1)

Last updated on MARCH 01, 2019

Applies to:

Precompilers - Version and later
Microsoft Windows x64 (64-bit)


The documentation for EXEC SQL OPEN, FETCH and CLOSE states that they are exceptions for EXEC SQL AT.  However, this is not the case on Windows - AT is needed, otherwise they an ORA-2122 is thrown.

The following code demonstrates the problem:


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.