Stored Procedures [dbo].[Forum_Polls_PollDelete]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@PollIDint4
SQL Script


CREATE PROCEDURE dbo.[Forum_Polls_PollDelete] @PollID INT
AS
    DELETE  FROM dbo.Forum_Polls_UserAnswers
    WHERE   PollID = @PollID
    DELETE  FROM dbo.Forum_Polls_Answers
    WHERE   PollID = @PollID
    DELETE  FROM dbo.Forum_Polls_Polls
    WHERE   PollID = @PollID

GO
Uses
Used By