[freetds] ctlib - numeric datatype handling
reg at t-online.hu
Wed Oct 28 12:10:23 EDT 2009
I'm heading problems with the numeric (decimal) datatype. I would need a
function like cs_dt_crack, that does the same thing with CS_DATETIME.
It tooks the data apart, and the output can be used in calculations /
custom data storage.
The only function I've found is cs_convert, which can convert a char
array to / from CS_NUMERIC.
Of course, I could process the char array, but this method seems very
ugly to me, and I'd like to avoid it.
Thanks for your suggestions!
More information about the FreeTDS