Fix ODBC Insert Failed Error 334 on Linked Access Tables
Question details
Users encounter Error 334 stating an ODBC insert failed due to enabled triggers and an OUTPUT clause without an INTO clause.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Inserting data into a linked Access table connected to a database using ODBC.
- Observed behavior
- Microsoft Access throws Error 334, indicating the ODBC insert failed because the target table has enabled triggers and the SQL statement contains an OUTPUT clause without an INTO clause.
Ensure your database connections are active and save any unsaved queries or forms in Microsoft Access before restarting the application or applying updates.
Restart Application and Update Microsoft 365
Since this was a known bug in a specific Access build, restarting to fetch the latest behavior or updating Office will resolve the error.
This error stems from a known issue in affected builds of Microsoft Access where the application sends an OUTPUT clause without an INTO clause to a SQL Server table with enabled triggers. Microsoft has already released a fix for this behavior.
Save your work, safely disconnect from your data sources if needed, and completely close the Microsoft Access application.
Launch Microsoft Access again. Because the issue was patched on the backend, a simple restart often allows the application to apply the updated, correct behavior.
If the error persists after reopening, go to 'File' > 'Account' (or 'Office Account'). Click on 'Update Options' and select 'Update Now' to install the latest Microsoft 365 or Office updates.

Looking for a Lightweight Alternative to Microsoft Office?
While WPS Office does not include a direct database alternative to Microsoft Access, it offers a powerful, free, and highly compatible suite for your document, spreadsheet, and presentation needs. If you want a fast, reliable tool without the heavy updates and subscription fees, switch to WPS Office.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package.
- 2. Install WPS Office: Run the installer and follow the on-screen prompts to set up the software in minutes.
- 3. Open your Office files: Launch WPS Office and immediately start editing your DOCX, XLSX, and PPTX files with full formatting compatibility.

Frequently Asked Questions
What causes Error 334 during an ODBC insert in Access?
Error 334 occurs when inserting data into a linked SQL Server table that has enabled triggers. A bug in specific builds of Access caused it to incorrectly send an OUTPUT clause without an INTO clause, which SQL Server rejects when triggers are present.
How do I check for updates in Microsoft Access?
Open Microsoft Access, navigate to 'File' > 'Account'. Under 'Product Information', click on 'Update Options' and choose 'Update Now' to download and install the latest patches.
Why do enabled triggers block inserts with OUTPUT clauses?
In SQL Server, if a table has triggers enabled, using the OUTPUT clause requires the results to be directed into a table or table variable using an INTO clause. This is a strict database requirement that older versions of Access occasionally violated.
Does WPS Office have a database program like Microsoft Access?
No, WPS Office focuses on core document productivity tools, including Writer (Word alternative), Spreadsheets (Excel alternative), Presentation (PowerPoint alternative), and a robust PDF editor. It does not include a direct equivalent to Microsoft Access for relational database management.




