开发者

What are the SQL data types to use in a C++ program?

开发者 https://www.devze.com 2023-03-23 00:12 出处:网络
I am writing an C++ application using OLE DB interfaces to read tables in SQL Server 2008. The columns in my table are of type VARCHAR. In my program, I have to check the data type of the column and d

I am writing an C++ application using OLE DB interfaces to read tables in SQL Server 2008. The columns in my table are of type VARCHAR. In my program, I have to check the data type of the column and do some stuff, but don't know how to check SQL datatypes in C++ program.

What the macros for types and which heade开发者_运维百科r has them?

Thanks, Sanish.


See here: http://msdn.microsoft.com/en-us/library/eshhha8h.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消