
CREATE FUNCTION [dbo].[foo_GetTotalGroupChannelSettingsCount]
(
	@ChannelId BIGINT
)
RETURNS INT
AS
BEGIN
	RETURN (SELECT COUNT(*) FROM [DataPro].[dbo].[GroupChannelSettings]	WHERE ChannelId = @ChannelId)
END

