Stored Procedures [dbo].[WriteLockSession]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@SessionIDvarchar(32)32
Permissions
TypeActionOwning Principal
GrantExecuteRSExecRole
SQL Script
CREATE PROCEDURE [dbo].[WriteLockSession]
@SessionID as varchar(32)
AS
INSERT INTO [ReportServerTempDB].dbo.SessionLock WITH (ROWLOCK) (SessionID) VALUES (@SessionID)

GO
GRANT EXECUTE ON  [dbo].[WriteLockSession] TO [RSExecRole]
GO
Uses