TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:setsql

Table of Contents

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: 2021/07/22 02:40 by scunliffe