Skip to content

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

Notifications You must be signed in to change notification settings

erossini/SplitSQLscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages