[Solved] why the stored procedure not work and showbox “incorrect syntax near ‘)’. ” [closed]
You have a surplus comma here: @answer nvarchar (100)=null, ) also checkisn’t a good column name as it is a reserved keyword, and the datetype doesn’t take a size parameter. This should work: CREATE PROCEDURE dbo.storMember ( @Check nchar (1), @UserName nvarchar (15), @Passowerd nvarchar (15)=null, @Name nvarchar (15)=null, @Phone nvarchar (15)=null, @email nvarchar (30)=null, … Read more