I am trying to find a way to return values in C++ from a sql expression that I send to the database. I can run queries like "DELETE FROM TABLE_NAME" without a problem. But I want return a value from a sql statement...example "SELECT COUNT(ID) FROM TABLE_NAME"...I would like the count to be stored in a variable in my program. Does any one have a way to do this??? Thanks.