What is corresponding c++ data type to SQL numeric(18,0) data type?

送分小仙女□ 提交于 2020-01-15 06:20:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!