What are the SQL data types to use in a C++ program?
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
精彩评论