sql2yaml 0.1.11

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global sql2yaml --version 0.1.11                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local sql2yaml --version 0.1.11                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=sql2yaml&version=0.1.11                
nuke :add-package sql2yaml --version 0.1.11                

sql2yaml

Import & export sql tables into yaml files and vice versa.

Export

dotnet tool sql2yaml export -c 'Data Source=.;Initial Catalog=.;...' -d ./export -t table1 table2 table3

Import

dotnet tool sql2yaml import -c 'Data Source=.;Initial Catalog=.;...' -d ./export

The import uses a temporary table for staging and merges the data into the target table.

All triggers and foreign keys are disabled before execution and re-enabled again when done.

The entire import is executed within a transaction.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.2.10 128 10/29/2024
0.2.9 94 10/21/2024
0.2.8 62 10/21/2024
0.2.7 66 10/21/2024
0.2.6 75 10/21/2024
0.2.5 74 10/21/2024
0.2.4 78 10/21/2024
0.2.3 74 10/21/2024
0.2.2 86 10/21/2024
0.2.1 89 10/17/2024
0.1.13 99 10/16/2024
0.1.12 95 10/16/2024
0.1.11 78 10/16/2024
0.1.10 86 10/15/2024
0.1.9 86 10/15/2024
0.1.8 93 10/14/2024
0.0.6 96 10/2/2024
0.0.2 99 10/2/2024

delete in target table unmatched records from sourceß