Msg 8144, Level 16, State 2, Procedure %1!, Line 0
Procedure or function %1! has too many arguments specified.
This error message appears when you try to call a stored procedure and supply more parameters than have been declared for that procedure.
The T-SQL statement can be parsed, but causes the error at runtime.
Error of the severity level 16 are generated by the user and can be fixed by the SQL Server user. The parameter list for the stored procedure call must be corrected.
All versions of SQL Server.
CREATE PROCEDURE dbo.GetSomething (@orderId INT)
SET NOCOUNT ON
WHERE OrderID = @orderID
EXEC dbo.GetSomething 10002, 10003
DROP PROCEDURE dbo.GetSomething
In the above example the error is raised, because the stored procedure dbo.GetSomething is called with 2 parameters in its parameter list, but only 1 parameter (@orderID) has beeen declared while creating the procedure.