|
If a data source has been configured with the property ENABLE_SELECT_SORT_BY = TRUE, then you must write raw SQL custom macros with an ORDER BY clause in order to sort the returned records by the audience key fields of the audience level under which you are working. Otherwise, if the sort order is not as expected, an error will be generated when the custom macro is used in a derived field in a Snapshot process.
|
|
When resolving user variables in custom macros, Campaign uses the current value of the user variable when checking syntax. If the current value is left blank, Campaign generates an error.
|
|
If you intend to use the custom macro across several different databases, you might want to use a IBM® expression rather than raw SQL, since raw SQL can be specific to a particular database.
|
|
Campaign treats a comma as a parameter separator. If you are using commas as literal characters in a parameter, enclose the text in open and close brackets ({}), as in the following example:
|
|
Campaign supports simple substitution for parameters in custom macros using raw SQL code. For example, if you set up a Select process box on a flowchart containing this query:
|
If the value is not used this way, Campaign treats a non-zero value as TRUE for ID selection and a zero value and string as FALSE.
|
|
Copyright IBM Corporation 2015. All Rights Reserved.
|