Stored Procedures [dbo].[ReadLockSnapshot]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@SnapshotDataIDuniqueidentifier16
Permissions
TypeActionOwning Principal
GrantExecuteRSExecRole
SQL Script
CREATE PROCEDURE [dbo].[ReadLockSnapshot]
@SnapshotDataID as uniqueidentifier
AS
SELECT SnapshotDataID
FROM
   SnapshotData WITH (REPEATABLEREAD, ROWLOCK)
WHERE
   SnapshotDataID = @SnapshotDataID     

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