Hello All,
1. RetCode = SQLExecDirect(hStmt, (SQLTCHAR*)query.c_str(), SQL_NTS); 2. When success RetCode = SQLFetch(hStmt); 3. if (SQL_SUCCEEDED(RetCode)) { While(SQLDescribeCol) { Switch(colDataType) { Case SQL_INTEGER: SQLGetData is called to fetch the data from stmt handle } } } SQLGetData returns invalid handle in case of SQLite DB where as it works fine for other Databases! Need help! Regards, Manasi -------------------------------------------------------------------------------------------------- This email and any attachments are confidential and are for the use of the addressee only. If you are not the addressee, you must not use or disclose the contents to any other person. Please immediately notify the sender and delete the email. Statements and opinions expressed here may not represent those of the company. Email correspondence is monitored by the company. This information may be subject to export control regulation. You are obliged to comply with such regulations. Renishaw plc (company number 1106260) and Wotton Travel Limited (company number 01973158) are companies registered in England and Wales with a registered office at New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR, United Kingdom, Telephone +44 1453 524524. --------------------------------------------------------------------------------------------------