Stored Procedures [dbo].[MssWebGetSmsUnreadMessageCount]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inSysUserIdint4
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
CREATE procedure [dbo].[MssWebGetSmsUnreadMessageCount]
    @inSysUserId int
as
begin
    select
    isnull(sum(messageCount.updateCount),0)
    from UdfGetUnreadAndScheduledMessageCount(@inSysUserId) as messageCount
end
GO
GRANT EXECUTE ON  [dbo].[MssWebGetSmsUnreadMessageCount] TO [MssExec]
GO
Uses