engine:import:setsql
SetSQL
Set the SQL string that will be used to query the SQL data source.
Phase
This instruction is used by the TapeTrack Import Engine.
Syntax
SetSQL(sql);
Variable | Type | Description | Min Length | Max Length |
---|---|---|---|---|
sql | String | The SQL string that will be used to query the SQL data source. | 1 | 512 |
Example
Select all fields from table volumes
SetSQL("SELECT * FROM [volumes]");
Select the Barcode and Location fields from Excel Spreadsheet workbook Inventory.
SetSQL("SELECT Barcode,Location FROM [Inventory$]");
engine/import/setsql.txt · Last modified: 2025/01/21 22:07 by 127.0.0.1