Workspace 6.21.5
CreateSqlTableFromCsvFile

Creates an SQLTable from the contents of a Comma Separated Value (CSV) file. Records can then be extracted / insert from / to this table using regular SQL queries.

  • Default label: "Create SqlTable from CSV File"
  • Member of plug-in: Data analysis
  • Catalogue path: Database
Inputs:
File nameQString

DelimiterQStringDelimiter must be a single character
Column headersCSIRO::DataAnalysis::CreateSqlTableFromCsvFile::ColumnHeaderFormatting

Determine datatypesCSIRO::DataAnalysis::CreateSqlTableFromCsvFile::DetermineDatatypesControls whether to use the first row or all rows to determine cell data types.
Skip top # linesint

Table nameQString

DatabaseQSqlDatabaseOptional: database to use - if none is specified then a new database will be created.
Log infobool

Outputs:
DatabaseQSqlDatabase

Table nameQString