UFN_SPONSORSHIPOPPORTUNITYRESERVATION_MULTIPLELOCATION
Returns the rows of multiple locations for opportunity reservations.
Return
Return Type |
---|
table |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@MULTIPLELOCATION | xml | IN |
Definition
Copy
create function dbo.UFN_SPONSORSHIPOPPORTUNITYRESERVATION_MULTIPLELOCATION(
@MULTIPLELOCATION xml
)
returns table
as
return(
select
T.c.value('(LOCATIONID)[1]','uniqueidentifier') AS 'LOCATIONID',
T.c.value('(LIMIT)[1]','smallint') AS 'LIMIT'
from @MULTIPLELOCATION.nodes('/MULTIPLELOCATION/ITEM') T(c)
)