UFN_PROGRAM_HASCONFLICTS
Determines if the program has any conflicts.
Return
| Return Type |
|---|
| bit |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_PROGRAM_HASCONFLICTS
(
@ID uniqueidentifier
) returns bit
as
begin
if exists (select ID from dbo.EVENTCONFLICT where PROGRAMID = @ID)
return 1;
else
return 0;
return 0;
end