Skip to content

Instantly share code, notes, and snippets.

View T3chW1zard's full-sized avatar

Andre Hoffmann T3chW1zard

View GitHub Profile
@T3chW1zard
T3chW1zard / SQL-Inserts-MultirowSynthax.sql.groovy
Last active April 21, 2020 10:35 — forked from leo-from-spb/SQL-Inserts-MultirowSynthax.sql.groovy
DataGrip data exporting script (1000 inserts at a time)
SEP = ", "
QUOTE = "\'"
NEWLINE = System.getProperty("line.separator")
begin = true
maxLines = 1000
currentLine = 0
def record(columns, dataRow) {
currentLine = currentLine + 1