My Oracle Support Banner

ODBC Application Causes Access Violation With Statement Size > 4096 (Doc ID 398917.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle ODBC Driver - Version to
Microsoft Windows (32-bit)


An ODBC Application with a SQL Statement > 4093 characters in length terminates with access violation. In the case of ASP/VB silently.

A Stack Trace shows SQLExecDirectW()  is the faulting command.

An ODBC trace will show the following error



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.