CREATE PROCEDURE dbo.InsertInboxMessage
@UserID uniqueIdentifier
@Message nvarchar(Max)
AS
INSERT INTO Messages(UsersID, Messages)
VALUES(@UserID, @Message)
It tells me that I have an error near @Message and that I must declare the scalar @UserID.
How do I correct those errors?
You are missing a Comma after the first parameter declaration
References