ODBC binding of FixedPoints...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ODBC binding of FixedPoints...

Boris Popov, DeepCove Labs (SNN)
... could be improved by not converting to/from strings when
storing/retrieving them from database?

at:putFixedPoint:
...
aFixedPoint printOn: strm.
...

getFixedPointAt:
...
^FixedPoint readFrom: str readStream
...

I suspect SQLBindParameter() should take one in forms other than
strings, no?

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

Reply | Threaded
Open this post in threaded view
|

RE: ODBC binding of FixedPoints...

Boris Popov, DeepCove Labs (SNN)
How to Use SQL_C_NUMERIC Data Type with Numeric Data
http://support.microsoft.com/default.aspx?scid=kb;en-us;181254


Retrieving Numeric Data with SQL_NUMERIC_STRUCT
http://support.microsoft.com/default.aspx?scid=kb;en-us;222831

Hope this helps,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: Boris Popov [mailto:[hidden email]]
Sent: Thursday, October 26, 2006 2:58 PM
To: vwnc-list
Subject: ODBC binding of FixedPoints...

... could be improved by not converting to/from strings when
storing/retrieving them from database?

at:putFixedPoint:
...
aFixedPoint printOn: strm.
...

getFixedPointAt:
...
^FixedPoint readFrom: str readStream
...

I suspect SQLBindParameter() should take one in forms other than
strings, no?

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.