Isaac
Lifelong Learner
- Local time
- Today, 10:58
- Joined
- Mar 14, 2017
- Messages
- 9,885
I'm running an Append query in Access. Source table is a link to an Excel worksheet. Destination table is SQL server - linked table object in Access.
Data is pretty substantial - 76 columns, but only about 4000 rows.
There's no criteria or complexity to it - a simple append from source to destination.
I'm getting "System Resource Exceeded" in MS Access. Just prior to that, I get the message that there is not enough disk space or memory to undo the changes, am I sure...... etc.
A few notes
I've already had to use T-SQL Bulk Insert on another dataset to this database, due to # of columns > 255. However, that causes me extra effort and time, since the source file's headers aren't exact matches to the SQL destination columns, so custom rigging is required and I'd like to avoid that if I can figure out why I'm getting System Resource Exceeded.
Data is pretty substantial - 76 columns, but only about 4000 rows.
There's no criteria or complexity to it - a simple append from source to destination.
I'm getting "System Resource Exceeded" in MS Access. Just prior to that, I get the message that there is not enough disk space or memory to undo the changes, am I sure...... etc.
A few notes
- I realize there's the possibility that I might be violating the table structure - (exceeding length, or implicit conversion failing) - but wouldn't that present quite differently - i.e. in SQL Server as truncation warning/error, or inability to convert ___ to ___ - which would then probably present as an Access "ODBC Call - Failed"?
- This isn't being done in code or recordsets - just double clicking a newly minted Append query in Access
- Note - I increased my MaxLocksPerFile from where I saw it was at (9,500) to 100,000, but it didn't solve the problem. After making the registry change, I restarted the Access database. Do I need to go higher? Am I just guessing at the effective # here?
I've already had to use T-SQL Bulk Insert on another dataset to this database, due to # of columns > 255. However, that causes me extra effort and time, since the source file's headers aren't exact matches to the SQL destination columns, so custom rigging is required and I'd like to avoid that if I can figure out why I'm getting System Resource Exceeded.