Stored Procedure Icon dbo.forums_GetForumGroupByForumID

Stored Procedure Properties

Name Value
Owner dbo
Created 2004-05-31
Startup False
Encrypted False

Creation Options

Name Value
QUOTED_IDENTIFIER ON
ANSI_NULLS ON

Parameters

Name DataType Length Type
@ForumID int 4 INPUT

Total: 1 parameter(s)

SQL

SET QUOTED_IDENTIFIER ON 
GO
SET ANSI_NULLS ON 
GO




CREATE             PROCEDURE forums_GetForumGroupByForumID
(
	@ForumID int
)
AS
	SELECT 
		ForumGroups.ForumGroupID,
		ForumGroups.Name,
		ForumGroups.SortOrder
	FROM
		ForumGroups, Forums
	WHERE
		Forums.ForumGroupID = ForumGroups.ForumGroupID AND
		Forums.ForumID = @ForumID
		















GO
SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS ON 
GO


					

Generated on 26/08/2004 15:05:28 by DataAide.