A Question on SQL_C_NUMERIC - Mailing list pgsql-odbc

From Vijaya Kumar Yoganna
Subject A Question on SQL_C_NUMERIC
Date
Msg-id 93F0E3CFC1ABB646B8808894FC7CDD250813A4@azindbaex01.aztec.soft
Whole thread Raw
List pgsql-odbc

Hi,

 I am working on ODBC application.

I knew that ODBC 3.x application support SQL_C_NUMERIC type, which means internally the data will be interpreted or stored in the SQL_NUMERIC_STRUCT structure.

 

Now lets assume , user binds a value using SQLBind Parameter, and his value is 123.45, with SQL_C_NUMERIC type.

 

How does this value is parsed and stored in the structure and also how this value is stored in the database(will it be stored as a string or as a structure).

 

 

Also what happens whenver a "Select statement is executed". Will the value from the database is read as a structure or as a string. How parsing is done at the engine level.

 

Are there are any free source code, so that one understands very easily just looking at it

 

Thanks,

 Vijay

 

 

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: client encoding mismatch
Next
From: "Sivakumar K"
Date:
Subject: Re: A Question on SQL_C_NUMERIC