Unix Technical Forum

Re: A Question on SQL_C_NUMERIC

This is a discussion on Re: A Question on SQL_C_NUMERIC within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Vijay, You are always welcome to browse the source code and get what you want. The entire psqlodbc source ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:27 AM
Sivakumar K
 
Posts: n/a
Default Re: A Question on SQL_C_NUMERIC

Vijay,

You are always welcome to browse the source code and get
what you want.

The entire psqlodbc source code is available at
http://cvs.pgfoundry.org/cgi-bin/cvs...odbc/psqlodbc/



In case of any doubt, please revert back to the psqlodbc community.





Regards,

Siva Kumar.K

-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailtogsql-odbc-owner@postgresql.org] On Behalf Of Vijaya Kumar
Yoganna
Sent: Saturday, September 24, 2005 12:41 PM
To: pgsql-odbc@postgresql.org
Subject: [ODBC] A Question on SQL_C_NUMERIC



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






Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com