spDelete_TargetedContentPart

Parameters

Parameter Parameter Type Mode Description
@PKID int IN
@CurrentUsersID int IN

Definition

Copy


        CREATE PROCEDURE [dbo].[spDelete_TargetedContentPart]
        (
            @PKID int,
               @CurrentUsersID    int
        )
        AS
            declare @Guid uniqueidentifier
            select @Guid = Guid from TargetedContentPart where ID = @PKID

              begin transaction
            DELETE FROM TargetedContentPart where ID = @PKID
            exec spAuditThis @CurrentUsersID, 3, @Guid, 20
              commit transaction