Skip to content

Repository files navigation

Split SQL script

Split an SQL script file into smaller chinks based on the specified maximum byte size.

splitsqlscript

For a description of the code, please visit my blog PureSourceCode.com.

Usage

SplitSQLScript [options]

Options

OptionDescriptionDefault
fileThe SQL script file to split.
destinationThe destination folder. If this is empty or null, the new files will be created in the same directory as the original file.
limitThe maximum bytes limit for the new files. [default: 10240000]10240000
add-goIf set to true the procedure will add the command GO at the end of each file.True
versionShow version information
?, h, helpShow help and usage information

About

Split an SQL script file into smaller chinks based on the specified maximum byte size.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages