USP_DUPLICATESEARCH_MKTSEGMENT

This provides the ability to search for duplicates of a constituent segment.

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN ID
@CODE nvarchar(10) IN Code
@SELECTIONS xml IN Selections
@MAXROWS smallint IN Input parameter indicating the maximum number of rows to return.

Definition

Copy


CREATE procedure dbo.[USP_DUPLICATESEARCH_MKTSEGMENT]
(
  @ID uniqueidentifier = null,
  @CODE nvarchar(10) = null,
  @SELECTIONS xml = null,
  @MAXROWS smallint = 100
)
as
  set nocount on;

  exec dbo.[USP_MKTSEGMENT_FINDDUPLICATES]
    @ID = @ID,
    @SEGMENTTYPECODE = 1,
    @CODE = @CODE,
    @SELECTIONS = @SELECTIONS,
    @MAXROWS = @MAXROWS;

  return 0;