After the Recordset object is created, you will open it and pass information to the data source. Typically this information would consist of the SQL query and the connection object.
Syntax
Example
In this example, we are going to connect to a table in a MySQL database called “Employees”. We will use a DNS-less connection. We will run a SQL Select Query and capture the results in a recordset. Finally, extract the information from the recordset and display the results in a table.
Connection and Recordset Object
Extract the Data
After a recordset is opened, we can extract data from recordset.