

These can be one-to-many relationships or many-to-many relationships. The difference between databases and spreadsheets is that while spreadsheets can contain records (often a row in a spreadsheet) and data fields (which is just a particular type of data - often a column header in a spreadsheet), databases can also contain relationships between records. In situations such as this, you are better off using a database rather than a spreadsheet. You could use a spreadsheet with one order per row, but you may have to type in customer name and address repetitively for many orders. You could use a spreadsheet with one customer per row, but one customer might order many products. Imagine you want to record the products that customers order from your company. There is limited support for Microsoft Access databases. If you have an existing database already created, you can connect to it either with the first screen you see in Base or by clicking File, New, Database then Connect to existing Database. In large systems, a DBMS allows users and other software to store and retrieve data in a structured way.Ĭonnecting to Databases DBMSes may use any of a variety of database models, such as the network model or relational model. The model in most common use today is the relational model.Ī database management system (DBMS) is computer software that manages databases. The structure is achieved by organizing the data according to a database model. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle™ and its affiliates.A database is a structured collection of records or data that is stored in a computer system. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation™ in the United States, other countries, or both. Drag the query to the first cell where you want to import data (usually A1): Expand the previously defined database, and expand the Queries section:ĭ. Select the menu option 'View -> Data Sources'.Ĭ.

Set the JDBC driver class to .AS400JDBCDriver. Select the option to connect to an existing database and select the value 'JDBC' from the list. Step 2: Create an OpenOffice Base application document that uses the IBM Toolbox for Java JDBC driverĪ.
