USP_DATAFORMTEMPLATE_VIEW_HTTPERROR
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | int | IN | |
@DATALOADED | bit | INOUT | |
@MESSAGE | nvarchar(1024) | INOUT | |
@ADDITIONALINFORMATION | nvarchar(1024) | INOUT |
Definition
Copy
create procedure dbo.USP_DATAFORMTEMPLATE_VIEW_HTTPERROR
(
@ID Integer,
@DATALOADED bit = 0 output,
@MESSAGE nvarchar(1024) = null output,
@ADDITIONALINFORMATION nvarchar(1024) = null output
)
as
set nocount on;
-- be sure to set this, in case the select returns no rows
set @DATALOADED = 0;
-- populate the output parameters, which correspond to fields on the form. Note that
-- we set @DATALOADED = 1 to indicate that the load was successful. Otherwise, the system
-- will display a "no data loaded" message.
select @DATALOADED = 1,
@MESSAGE = Message,
@ADDITIONALINFORMATION = ADDITIONALINFORMATION
from dbo.Error
where ID = @ID
return 0;