UFN_GENERALPURPOSEEMAIL_GETMERGEDATASETTABLENAME
Gets the name used to create a table to store recipient data for an email job data set
Return
| Return Type |
|---|
| nvarchar(128) |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @QUEUEID | uniqueidentifier | IN |
Definition
Copy
create function [dbo].[UFN_GENERALPURPOSEEMAIL_GETMERGEDATASETTABLENAME](@QUEUEID uniqueidentifier)
returns nvarchar(128)
with execute as caller
as begin
return 'dbo.[EMAILSERVICEJOB_MERGEDATASET_' + replace(cast(@QUEUEID as nvarchar(50)),'-','_') + ']'
end