SQLDescribeParam Always Returns SQL_VARCHAR (Doc ID 372296.1)

Last updated on JANUARY 10, 2011

Applies to:

Oracle ODBC Driver - Version: 9.2.0.1 to 11.2.0.2 - Release: 9.2 to 11.2
Information in this document applies to any platform.

Symptoms

When describing a stored procedure input parameter, SQLDescribeParam always reports the data type as SQL_VARCHAR (12) even when the parameter is RAW, DATE, etc.

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