A Question on SQL_C_NUMERIC

From: Vijaya Kumar Yoganna <vijayay(at)aztec(dot)soft(dot)net>
To: pgsql-odbc(at)postgresql(dot)org
Subject: A Question on SQL_C_NUMERIC
Date: 2005-09-24 07:10:59
Message-ID: 93F0E3CFC1ABB646B8808894FC7CDD250813A4@azindbaex01.aztec.soft
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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


Browse pgsql-odbc by date

  From Date Subject
Next Message Sivakumar K 2005-09-24 09:04:42 Re: A Question on SQL_C_NUMERIC
Previous Message Dave Page 2005-09-23 09:42:57 Re: client encoding mismatch