Zoomed Image

AMSX Scripting Language - Command : executetextcoll

Summary

Run sql on the collection server

Description

Run a sql statement against the collection server

Parameters

ParameterDescription
cmdName of the collection server to get data from
Argument 0Connection String for the collection server database
Argument 1Temp Table Prefix - each table returned has an index from 1 to the number of tables in the dataset (number of tables selected)
Argument 2Wait timeout period
Argument 3Data format for coll to app server communication. Blank or "Xml" will return XML, "BINARY" will use the dataset binary formatting. Both forms will be zipped
Argument 4Clean Strings - defaults to true

Syntax


ExecuteTextColl "Name of the collection server to get data from", "Connection String for the collection server database", "Temp Table Prefix - each table returned has an index from 1 to the number of tables in the dataset (number of tables selected)", "Wait timeout period", "Data format for coll to app server communication. Blank or "Xml" will return XML, "BINARY" will use the dataset binary formatting. Both forms will be zipped", "Clean Strings - defaults to true"

Return to the AMSX Command Reference