Stored Procedures [dbo].[MssWebInsertEmailSignature]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inSysUserIdint4
@inTitlevarchar(34)34
@inContentvarchar(max)max
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
create procedure [dbo].[MssWebInsertEmailSignature]
@inSysUserId int,
@inTitle varchar(34),
@inContent varchar(Max)
as
begin
set nocount on
declare @newId int
    insert into SysuserEmailSignature
    (
    SysuserFID,
    SignatureName,
    [Signature]
    )
    Select
    SysuserFID = @inSysUserId,
    SignatureName = @inTitle,
    [Signature] = @inContent

    set @newId = scope_identity()
    select @newId
end
GO
GRANT EXECUTE ON  [dbo].[MssWebInsertEmailSignature] TO [MssExec]
GO
Uses