Flat Files to a Database
- 23 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Flat Files to a Database
- Updated on 23 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 File
source node to the canvas. Open theIris.csv
file. - Add a
Database
export node to the canvas. Attach theFlat File
source node to this node. - Configure the export node to create a new table named
-Iris
, preceeded by your initials. Run the node. - Add a
Database
source node to the canvas. Run the following query (with the correct table name) to preview the data:SELECT * FROM IRIS
Was this article helpful?