Creating queries with Text Builder
These instructions explain how to create a query using the Text Builder feature in a process configuration dialog. To edit an existing query, edit the text of the query directly in the query text box, after clicking the Text Builder button.
1.
2.
*
For a Select process, choose Select <audience> IDs With.
*
For a Segment process, use Segment by Query, double-click a segment to edit it, then use Select IDs With.
*
For an Extract process, use Select records With.
3.
Click Text Builder to change from the default Point & Click query method.
The Point & Click query columns are replaced by a query text box. Any existing queries are displayed in the text box.
4.
Choose an Input data source, and a data source to query from the Select Based On list. Your selections determine which fields can be used to build your query:
5.
*
Selecting the field or table name(s) from the Available Fields list and double-clicking to enter them in the query text box. You can also click once then click <-Use to move it to the query text box.
*
*
6.
To check the syntax of the query, click Check Syntax. Checking the syntax does not put any load on the database server.
7.
(Optional) Use Test Query to see how many IDs the query returns.
A progress bar is displayed while the query is being tested. Close the progress window if you want to cancel the test. When testing is complete, Campaign indicates the number of rows the query returned.
*
8.
The process configuration box closes and you return to the flowchart page in Edit mode.