Categories: SQL Server

SQL Server Error : 109, Severity: 15. There are more columns in the INSERT statement

SQL Server Error : 109 Details


SQL Server Error: 109
Severity: 15
Event Logged or not: No
Description:
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
Severity 15 Description:
Indicates syntax errors in the Transact-SQL command.

 

Cause for the Error

This issue happens when the number of values supplied in the VALUES clause is less than the number of columns specified in an INSERT to a table using the INSERT INTO… VALUES format, as described in the error message.

The following INSERT statement, for example, will result in an error:

INSERT Into [Alpha] ( [Name], [LastName], [Gender] ) VALUES ( ‘Mike’, ‘Mall’ )

The INSERT INTO clause specifies three columns, while the VALUES clause specifies just two values, as can be seen in this INSERT INTO… VALUES statement.

Solution for Resolving the Error

To avoid this error, make sure that the number of values specified in the VALUES clause matches the number of columns specified in the INSERT INTO clause:

INSERT INTO [dbo].[Alpha] ( [Name], [LastName], [Gender] )
VALUES ( ‘Mike’, ‘Mall’, ‘M’ )

 

SQL Server Error Code and solution summary


SQL Server Error: 109
Severity: 15
Event Logged or not: No
Description:
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.

To avoid this error, make sure that the number of values specified in the VALUES clause matches the number of columns specified in the INSERT INTO clause:

INSERT INTO [dbo].[Alpha] ( [Name], [LastName], [Gender] )
VALUES ( ‘Mike’, ‘Mall’, ‘M’ )

Vamshi B

Recent Posts

sql server detected logical consistency based error

Learn about SQL Server detecting logical consistency based issues and how to resolve them.

5 months ago

sql server error 1222

Learn about SQL Server error 1222 and how to resolve the lock request time out…

5 months ago

Microsoft SQL Server 2022 New Features

Discover the new features of Microsoft SQL Server 2022 and how they compare to previous…

5 months ago

SQL Server Error 1222 lock request time out period exceeded

SQL Server Error 1222 lock request time out period exceeded   Lock request time out…

5 months ago

SQL Server Error : 427, Severity: 20. Could not load the definition for constr

SQL Server Error : 427, Severity: 20. Could not load the definition for constraint ID…

10 months ago

SQL Server Error : 204, Severity: 20. Normalization error in node %ls.

SQL Server Error : 204, Severity: 20. Normalization error in node %ls.

10 months ago

This website uses cookies.