USP_DATAFORMTEMPLATE_VIEW_SYSTEMROLE_CONSTIT_SECURITY_ATTRIBUTEID
The load procedure used by the view dataform template "System Role Constituent Security ID View Form"
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. |
@CONSTIT_SECURITY_RINGFENCEID | uniqueidentifier | INOUT | Ring fence ID |
Definition
Copy
create procedure dbo.USP_DATAFORMTEMPLATE_VIEW_SYSTEMROLE_CONSTIT_SECURITY_ATTRIBUTEID
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@CONSTIT_SECURITY_RINGFENCEID uniqueidentifier = null output
) as
set nocount on;
set @DATALOADED = 0
select
@DATALOADED = 1,
@CONSTIT_SECURITY_RINGFENCEID = [CONSTIT_SECURITY_ATTRIBUTEID]
from
dbo.[SYSTEMROLE_CONSTIT_SECURITY_ATTRIBUTE]
where
[ID] = @ID;
return 0;