UFN_BUSINESSPROCESS_GETBUSINESSPROCESSOUTPUTVIEWS_FROMITEMLISTXML
Used to convert an xml string to a table based on UFN_BUSINESSPROCESS_GETBUSINESSPROCESSOUTPUTVIEWS.
Return
Return Type |
---|
table |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ITEMLISTXML | xml | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 4/29/2010 7:35:05 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.6.1444.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_BUSINESSPROCESS_GETBUSINESSPROCESSOUTPUTVIEWS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_BUSINESSPROCESS_GETBUSINESSPROCESSOUTPUTVIEWS_FROMITEMLISTXML](@ITEMLISTXML xml) RETURNS TABLE AS
RETURN (
SELECT
T.c.value('(BUSINESSPROCESSVIEWID)[1]','uniqueidentifier') AS 'BUSINESSPROCESSVIEWID',
T.c.value('(HASPARAMETERS)[1]','int') AS 'HASPARAMETERS',
T.c.value('(QUERYID)[1]','uniqueidentifier') AS 'QUERYID'
FROM @ITEMLISTXML.nodes('/BUSINESSPROCESSOUTPUTVIEWS/ITEM') T(c)
)