Zoomed Image

AMSX Scripting Language - Command : filetotemptable2

Summary

Load a file into a temporary table using extended permitted folders

Description

Identical to FileToTempTable but uses the extended permitted folders list for the file permission check. Use this variant when the source file is in a location that requires elevated folder access (such as a network share or integration folder).

Parameters

ParameterDescription
cmdfull path to the source file
Argument 0temp table name to create and populate
Argument 1file format: TAB, COMMA, or blank for XML
Argument 2DEBUG to enable row-by-row debug mode for diagnosing bad XML records
Argument 3quoting: 0 = data is not quoted, 1 = data is already quoted, 2 = quote data before parsing
Argument 4character encoding: utf8 (default) or ascii

Syntax


FileToTempTable2 "full path to the source file", "temp table name to create and populate", "file format: TAB, COMMA, or blank for XML", "DEBUG to enable row-by-row debug mode for diagnosing bad XML records", "quoting: 0 = data is not quoted, 1 = data is already quoted, 2 = quote data before parsing", "character encoding: utf8 (default) or ascii"

Return to the AMSX Command Reference