UFN_VOLUNTEER_GETLOCATIONS
Returns all locations for a given volunteer.
Return
| Return Type |
|---|
| table |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @VOLUNTEERID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_VOLUNTEER_GETLOCATIONS(@VOLUNTEERID uniqueidentifier)
returns table
as
return
(
select ID, VOLUNTEERLOCATIONCODEID from dbo.VOLUNTEERVOLUNTEERLOCATION where VOLUNTEERID = @VOLUNTEERID
)