This procedure is responsible for selecting eligible rows from a view defined by the client organization as part of a custom view-based scheduled campaign. The view can contain as many fields as the organization would like, and all of them are returned to the mail2 application as output of this procedure for use as personalization tokens in the campaigns that are deployed as part of this scheduled job.
@view varchar(64) = null,
@startDate date = null,
@endDate date = null,
@sessionKey varchar(64) = null)