engine:import:setsql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| engine:import:setsql [2019/02/18 01:27] – old revision restored (2018/08/14 23:27) Scott Cunliffe | engine:import:setsql [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | |||
| - | ==== SetSQL ==== | ||
| Set the SQL string that will be used to query the SQL data source. | Set the SQL string that will be used to query the SQL data source. | ||
| - | ==== Phase ==== | + | ===== Phase ===== |
| This instruction is used by the TapeTrack Import Engine. | This instruction is used by the TapeTrack Import Engine. | ||
| - | ==== Syntax ==== | + | ===== Syntax |
| - | **SetSQL**//(sql);// | + | '' |
| - | 80 | + | |
| - | string //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(" | ||
| + | </code> | ||
| - | |sql| The SQL string that will be used to query the SQL data source.| | + | Select |
| - | ==== Example ==== | + | < |
| - | **SetSQL: Select all fields from table volumes** | + | SetSQL(" |
| - | |SetSQL(" | + | </ |
| - | ==== Example ==== | + | {{tag> import_engine sync_engine}} |
| - | **SetSQL: Select the Barcode and Location fields from Excel Spreadsheet workbook Inventory.** | + | |
| - | |SetSQL(" | + | |
engine/import/setsql.1550453265.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
