UFN_MKTCONSTITUENTFILEIMPORT_BUILDTABLENAME
Returns the name of the constituent file table for a given marketing effort.
Return
| Return Type |
|---|
| nvarchar(256) |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @SEGMENTATIONID | uniqueidentifier | IN |
Definition
Copy
create function dbo.[UFN_MKTCONSTITUENTFILEIMPORT_BUILDTABLENAME]
(
@SEGMENTATIONID uniqueidentifier
)
returns nvarchar(256)
as
begin
return upper(cast('MKTCONSTITUENTFILEIMPORT_' as nvarchar(25)) + replace(cast(@SEGMENTATIONID as nvarchar(36)), '-', '_'));
end