package batch
import "github.com/denisenkom/go-mssqldb/batch"
bach splits a single script containing multiple batches separated by a keyword into multiple scripts.
Index ¶
Functions ¶
func Split ¶
Split the provided SQL into multiple sql scripts based on a given separator, often "GO". It also allows escaping newlines with a backslash.
Source Files ¶
- Version
- v0.12.3 (latest)
- Published
- Oct 11, 2022
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 8 hours ago –
Tools for package owners.