Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Run Query activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • Query (text box editor type) (type: string): the SQL query string. For example: CREATE Table.

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Run Query activity:

...

  •  "SELECT Name, Company FROM Names where ID>1 and ID<4 order by name ASC"

    Image Added

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: collection<collection<string>>): outputs a collection of returned rows.To use the elements of the collection, use ForEachFactory activity.
  • Output Columns (type: int32): outputs the number of columns returned.
  • Output Rows (type: int32): outputs the number of rows returned.
 

Image RemovedImage Added

Execution: In the Tracking Data there can be seen the returned results:

Image Added

 

The same result can be seen when executing the same SQL Select query from PHPMyAdmin:

Image Added

 

 

 

Select Row(s) from Table

...