DbShell

OpenSource database automation toolkit

User Tools

Site Tools


samples:export_all_tables

Export all tables

This script exports all tables in CSV files - file is named equaly as source table.

DbShell Script

ForEach(property="table", source=GetTables()) {
    CopyTable(
        source = Table("${table.name}"),
        target = File("${table.name}.csv")
    )
}
samples/export_all_tables.txt · Last modified: 2018/04/21 19:19 by admin