CREATE PROCEDURE [dbo].[spInsertForumAttachment] 
	@in_post_id				bigint,
	@in_poster_id			int,
	@in_poster_name			varchar(50),
	@in_attach_filename		varchar(255),
	@in_attach_filesize		int,
	@in_attach_comment		varchar(255),
	@in_attach_thumbnail	varchar(255)
AS
BEGIN
	INSERT INTO tblForumAttachments
	(
		post_id,
		poster_id,
		poster_name,
		attach_filename,
		attach_filesize,
		attach_comment,
		attach_thumbnail
	)
	VALUES
	(
		@in_post_id,
		@in_poster_id,
		@in_poster_name,
		@in_attach_filename,
		@in_attach_filesize,
		@in_attach_comment,
		@in_attach_thumbnail
	);
END