Description of ADO - Getting a Database Schema :
In this online article the author explains about the procedure to open a database, then getting the views and tables of the database, selecting the fields of a selected view or a table and atlast executing a query of the same database. In this article, through an example along with its sample source code the above said process is executed by passing a DSN to the script.