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 JET Database Engine error '80040e14' Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.
- Article ID:
99 - Date Created
Wednesday, February 9, 2011 - This Article Has been Viewed
2791 times - Short Desc
When you create your SQL Statements for DELETE, INSERT, PROCEDURE, SELECT, or UPDATE, you may not spell the name correctly, in this case, this error will happen. - Details
When you write your SQL Statement, make sure that you spell the name correctly, if not, you will receive the following error message.
Microsoft JET Database Engine error '80040e14'
Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.
/4.asp, line 19
When the SQL Statement is run, it will look to see if you have provided the appropriate code that triggers the Query to be performed. If this code is not found, it will return the 80040e14 error message as demostrated above. - Recreate Issue
To recreate this issue:
<%
sql.commandtext="Sekect column1, column2 from table2"
%>
In the above code, we have misspelled the name: SELECT
Instead, we have it spelling out as: SEKECT
Knowing that the K and L are side by side, this at times will happen. - Resolve Issue
To correct this issue:
<%
sql.commandtext="Select column1, column2 from table2"
%>
As you can see in the code above, we have spelled the name correctly, so that script will now function properly and the trigger will be fired.
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