Zoomed Image

AMSX Scripting Language - Command : datasetfiletotable

Summary

Load a binary dataset file from disk and create temporary tables from its contents

Description

Reads a binary dataset file written by ExecuteTextToDataset or WriteDatasetToFile and loads each table into a corresponding temporary table. Use to transfer data produced in a previous script step or batch run into the current session.

Parameters

ParameterDescription
cmdPath to the binary dataset file (.DS) to read
Argument 0Temporary table name root (each table is named root + index)
Argument 1Naming convention for table creation, as defined by DatasetToTables
Argument 2Not used
Argument 31 to clean strings (strip control characters) when loading rows; default false

Syntax


DatasetFileToTable "Path to the binary dataset file (.DS) to read", "Temporary table name root (each table is named root + index)", "Naming convention for table creation, as defined by DatasetToTables", "Not used", "1 to clean strings (strip control characters) when loading rows; default false"

Return to the AMSX Command Reference