UFN_MKTSOURCECODEPART_SEGMENTATIONTESTSEGMENT_GETITEMLIST
Returns a table of all of the source code items that have been assigned to the given segmentationtestsegment
Return
| Return Type |
|---|
| table |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @SEGMENTATIONTESTSEGMENTID | uniqueidentifier | IN |
Definition
Copy
CREATE function dbo.[UFN_MKTSOURCECODEPART_SEGMENTATIONTESTSEGMENT_GETITEMLIST]
(
@SEGMENTATIONTESTSEGMENTID uniqueidentifier
)
/*
Returns a table of all of the source code items that have been assigned to the given segmentationtestsegment
*/
returns table
as
return
(
select
[PART].[ID],
[PART].[CODE],
[PART].[SOURCECODEITEMID],
[PART].[PARTDEFINITIONVALUESID],
[PART].[SEGMENTATIONID]
from dbo.[MKTSOURCECODEPART] as [PART]
where [PART].[SEGMENTATIONTESTSEGMENTID] = @SEGMENTATIONTESTSEGMENTID
)