I have downloaded the MS ODBC SDK, but the documentation is pretty skimpy. The example apps are all written in Visual C, making it difficult to distinguish between what is an odbc function, command etc. and what is some sort of proprietary windows junk. I just want to know how to embed a simply query in my application that will retrieve data from an ODBC data source. The query will be known at compile time.