My Oracle Support Banner

ODBC/PLSQL: Wrong Type, Precision and Scale Returned For Column of Type Number(P,S) Added by ALTER TABLE Statement (Doc ID 1241794.1)

Last updated on NOVEMBER 24, 2010

Applies to:

Oracle ODBC Driver - Version: to - Release: 11.1 to 11.2
PL/SQL - Version: to   [Release: 11.1 to 11.2]
Information in this document applies to any platform.


Using one of the following methods
to describe columns of type Number(Precision,Scale) added by a statement like

ALTER TABLE <table_name> ADD (<column_name> NUMBER (P,S))

will return wrong Type (Only ODBC - SQL_FLOAT/SQL_DOUBLE returned instead SQL_DECIMAL ),  Precision  and Scale (ODBC and PL/SQL)


Upgrading DB from pre-11gR1( and lower) to 11gR1 (11.1.0.X) or 11gR2 (


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.