UFN_MKTRECORDSOURCE_GETCONSOLIDATEDQUERYVIEWID
Returns the consolidated query view ID associated with the record source.
Return
Return Type |
---|
uniqueidentifier |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@RECORDSOURCEID | uniqueidentifier | IN |
Definition
Copy
CREATE function dbo.[UFN_MKTRECORDSOURCE_GETCONSOLIDATEDQUERYVIEWID]
(
@RECORDSOURCEID uniqueidentifier
)
returns uniqueidentifier
as
begin
return (select [CONSOLIDATEDQUERYVIEWCATALOGID]
from dbo.[MKTCONSOLIDATEDQUERYVIEWSPEC]
where [ID] = @RECORDSOURCEID);
end