Skip to content

Elegrous/Dbeaver-import-CSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

How import CSV file to Dbeaver

DBeaver - SQL client software application and a database administration tool.

Select CSV to connect to CSV database:
image

If date format in your CSV file is standard for DBeaver, i.e. yyyy-MM-dd, there will be no issue and you can click on Finish.

But if dates in your CSV file have formats: dd/MM/yyyy, or M/dd/yyyy, etc., need to do additional steps:

Example

We have this Table with 30 columns: image

In Driver Properties add dateFormat as in the csv file, i.e. M/dd/yyyy in our example, and add columnTypes for each column. Therefore, setting should be the following:

columnTypes: integer,integer,integer,string,integer,string,string,string,integer,string,date,date,string,string,integer,string,string,integer,integer,string,integer,float,integer,integer,integer,integer,string,date,date,string

image

Result

image

Sourse is the issue CSV file date format is not recognised as set in driver properties - default is used #11612

About

How import CSV file directly to DBeaver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published