Explain the concept of database record and recordset?
A database record is a single row in a database. A recordset (or cursor) represents a query, and looks like (part of) a record or row. It is actually a row of the query, or virtual table representing the query. When you submit a query that returns data, you create a recordset and the database fills it in with the first record that matches the predicate clause. You do what you need to do with that data. When you need the next record, you fetch the next row, and so on and so forth. Some recordsets represent more than one row at a time. That is up to the database and your program design, but the concept is the same - the recordset is all or part of the resultset from the query.
- In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.
- Expand Databases, and then right-click the database that you want to shrink.
- Point to Tasks, point to Shrink, and then click Database. Database…
- Click OK.
- Access MySQL database from C Program To access MySQL database, you need to have the mysql-devel package on you system. This package provides the share libraries and header files required to MySQL client program development. Header files are required for program compilation and shared libraries are used at run-time.
We've handpicked 22 related questions for you, similar to «Explain the concept of database record and recordset?» so you can surely find the answer!