Goal: Create a database table from a flat file.
High-level Task: Given a .csv file, create a new database table. This table should have all the data from the flat file in the same format. Preview it with a database source node to verify the data can be queried elsewhere.
Detailed Task:
- Create a new flow.
- Add a new database connection.
- Add a
Flat Filesource node to the canvas. Open theIris.csvfile. - Add a
Databaseexport node to the canvas. Attach theFlat Filesource node to this node. - Configure the export node to create a new table named
-Iris, preceeded by your initials. Run the node. - Add a
Databasesource node to the canvas. Run the following query (with the correct table name) to preview the data:SELECT * FROM IRIS