My Oracle Support Banner

Using ODBC Driver Executing Select Statement With Comment section in it fails with ORA-24374 error (Doc ID 2752395.1)

Last updated on FEBRUARY 21, 2021

Applies to:

Oracle ODBC Driver - Version to [Release 12.1]
Information in this document applies to any platform.


Using ODBC driver Executing Select statement with comment section in it fails with ORA-24374 error


cmd.ActiveConnection = con
cmd.CommandText = " /* Use GDM login. Is granted read-only access to the LDM schema. No accessible directly as LDM users are controlled by the system " & _
                  " so the rights are not directly configurable */ " & _
                  " " & _
                  " /* Select the RT6000 records */ " & _
                  " select * from " & _
                  " dual "


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.