UFN_PROGRAM_ISDAILYADMISSION
Gets whether the given program is a daily admission program.
Return
Return Type |
---|
bit |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_PROGRAM_ISDAILYADMISSION
(
@ID uniqueidentifier
)
returns bit
with execute as caller
as begin
return isnull((select ISDAILYADMISSION from dbo.PROGRAM where ID = @ID), 0);
end