Darrell
Registered User.
- Local time
- Today, 23:15
- Joined
- Feb 1, 2001
- Messages
- 323
Hey guys, I was just wondering if there is any update in regards to this issue as it's driving me crazy.
I have a simple db (using O365 on Win10) that really only has 2 users, me being one of them. I import text files into it regularly and part of that process creates a temporary table, adjusts the data accordingly (changes date formats / drops un-needed columns etc), moves the remainder into the relevant permanent table and drops the temp table. This has been working perfectly for the last 10 yrs.
What I've encountered over the last year or so is that quite often (especially lately) the temp table will not be deleted at the end of the procedure even though it ran without apparent issue. Then, when a new procedure is run and it checks to see if there is a temp table that needs to be deleted before it creates a new one, it throws this error as it now can't delete it for some reason.
Then I get the whole - 'Database is in an inconsistent state..' drama and it's all over from there. Once it has C&R (and presuming everything is still in one piece) the table can be deleted no problem.
Very frustrating...
I have a simple db (using O365 on Win10) that really only has 2 users, me being one of them. I import text files into it regularly and part of that process creates a temporary table, adjusts the data accordingly (changes date formats / drops un-needed columns etc), moves the remainder into the relevant permanent table and drops the temp table. This has been working perfectly for the last 10 yrs.
What I've encountered over the last year or so is that quite often (especially lately) the temp table will not be deleted at the end of the procedure even though it ran without apparent issue. Then, when a new procedure is run and it checks to see if there is a temp table that needs to be deleted before it creates a new one, it throws this error as it now can't delete it for some reason.
Then I get the whole - 'Database is in an inconsistent state..' drama and it's all over from there. Once it has C&R (and presuming everything is still in one piece) the table can be deleted no problem.
Very frustrating...