Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
/ csv-join-sql Public archive

A command-line tool for performing full outer joins on CSV files in C# .NET Core using SQL

Notifications You must be signed in to change notification settings

mariusz96/csv-join-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

CSV Join SQL

A command-line tool for performing full outer joins on CSV files in C# .NET Core using SQL:

CsvJoin.SqlGenerator.exe Data sales.csv new_sales.csv > SQLQuery.sql
CsvJoin.exe SQLQuery.sql Data > joined_sales.csv

Features:

  • Execute SQL against CSV files
  • Save auto-generated SQL
  • Save results to CSV

Prerequisites:

  • Microsoft Access Database Engine 2016 Redistributable
  • .NET Core 3.1
  • Visual Studio 2022

Build and run:

VS:

  • src\CsvJoin.sln > Build > Build Solution

Cmd:

  • CsvJoin.SqlGenerator.exe Data sales.csv new_sales.csv > SQLQuery.sql
  • Verify that the generated file (SQLQuery.sql) does not contain SQL injection
  • CsvJoin.exe SqlQuery.sql Data > joined_sales.csv

Acknowledgements:

About

A command-line tool for performing full outer joins on CSV files in C# .NET Core using SQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages