On Mon, 27 Jan 2014 17:13:29 +0000 Andrew Grafham <[email protected]> 
wrote:

AG> Is there a way of accurately bulk inserting into a decimal field in SQL
AG> server?

 Sorry for the bad news but no, there is no support for inserting string
values in SQL_DECIMAL columns in the current ODBC backend code.

 Worse, I'm not actually sure how would one modify the code to do it as
currently it assumes a one-to-one mapping between SQL and C++ types, but
this is just not true for SQL_DECIMAL which should be convertible to both
double (if the potential accuracy loss doesn't matter) and string (if we
really need to store the exact representation).

 Regards,
VZ

Attachment: pgpZEALTo1xqj.pgp
Description: PGP signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to