fnGetSystemIDFromPeopleID
Return
| Return Type |
|---|
| int |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @PeopleID | int | IN |
Definition
Copy
create FUNCTION dbo.fnGetSystemIDFromPeopleID(@PeopleID int)
RETURNS int AS
BEGIN
DECLARE @SystemID int
SELECT @SystemID = BackOfficeSystemID
FROM dbo.BackOfficeSystemPeople
WHERE
[ID] = @PeopleID
return @SystemID
END