Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Wiki Markup
It is possible to dynamically generate complete programs and execute them using the scriptexec statement. The following example imports the Orders table from the Northwind odbc data source. The generated code, should be in the tiImport language syntax.
Example:
DATASOURCE a1 = odbc 'dsn=northwind'
DECLARE @tableName as string
SET @tableName = 'Orders'
ScriptExec 'import \[' + @tableName + '\] = a1.\[ ' + @tableName + '\] '
SAVE