USP_CMSCONFIGURATION_ISHOSTED

The load procedure used by the view dataform template "CMS Configuration Is Hosted"

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN The input ID parameter used to load the fields defined on the form.
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.
@ISHOSTED bit INOUT Is Hosted

Definition

Copy


create procedure dbo.USP_CMSCONFIGURATION_ISHOSTED
(
    @ID uniqueidentifier,
    @DATALOADED bit = 0 output,
    @ISHOSTED bit = null output
)
as
    set nocount on;

    -- be sure to set this, in case the select returns no rows

    set @DATALOADED = 0;

    select @DATALOADED = 1,
           @ISHOSTED = ISHOSTED
    from dbo.INSTALLATIONINFO
    where ID = 1

    return 0;