CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Microsoft OLE DB Provider for SQL Server error '80040e14' Incorrect syntax near '@P14'.
- Article ID:
205 - Date Created
Saturday, January 11, 2014 - Last Updated
Wednesday, February 26, 2014 - This Article Has been Viewed
1604 times - Short Desc
SQL Server Error 80040e14 is a common error, however, when you deal with the sql statements, and invalid characters, it can cause you to look for something that is not there. - Details
when writing out your sql statements, you have to make sure that you type everything out properly. If not, then you could have an issue, such as the one that this article is about.Microsoft OLE DB Provider for SQL Server error '80040e14'
Incorrect syntax near '@P14'.
/File.asp, line 295 - Recreate Issue
Recreate this issue<%
sql.commandtext="insert into table1 (col1, col2, col3, col4)values(?,?,?.?)"
%>
As you can see in this demonstration, there is a period below the last question mark in our statement. This will cause the error. - Resolve Issue
Resolve this issue.<%
sql.commandtext="insert into table1 (col1, col2, col3, col4)values(?,?,?,?)"
%>
Make sure that you do not have any objects that do no properly belong in your statement.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825