UFN_SYSTEMROLE_GETKPIINSTANCELIST_TOITEMLISTXML
Used to convert the results of UFN_SYSTEMROLE_GETKPIINSTANCELIST to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@SYSTEMROLEID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:13:24 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_SYSTEMROLE_GETKPIINSTANCELIST
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_SYSTEMROLE_GETKPIINSTANCELIST_TOITEMLISTXML](
@SYSTEMROLEID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [ID], [KPIINSTANCEID]
FROM dbo.[UFN_SYSTEMROLE_GETKPIINSTANCELIST](@SYSTEMROLEID)
for xml raw('ITEM'),type,elements,root('KPIINSTANCELIST'),BINARY BASE64
)
END