问题
What is corresponding c++ data type to SQL numeric(18,0) data type?
I need a datatype in C++ to store numeric(18,0) of SQL in it.
回答1:
It says in "msdn" that the numeric is mapped to CString in C++.
Reference: http://msdn.microsoft.com/en-us/library/eshhha8h.aspx
回答2:
That would be a long long
(at least 64 bits).
来源:https://stackoverflow.com/questions/10409089/what-is-corresponding-c-data-type-to-sql-numeric18-0-data-type