View SQL code by navision table name

nikeman77
Member Posts: 517
hi folks,
i have no sql experience thus sorry if it sounds stupid to you.. when i run report that will export to excel.. i got an error message saying:
The Excel Buffer table cannot be changed because it is locked by another user.
Wait until the user is finished and then try again.
i have no sql experience thus sorry if it sounds stupid to you.. when i run report that will export to excel.. i got an error message saying:
The Excel Buffer table cannot be changed because it is locked by another user.
Wait until the user is finished and then try again.
0
Comments
-
The developer who wrote the made a mistake and didn't make the excel buffer as temporary. Contact your partner and ask them to fix it.0
-
ara3n,
noted, thanks a lot.. but we need to find out the report which is locking the table before request to amend the report..0 -
you could just ask them to check all custom, excel buffer related reports. it could be more than one report. it's a bug anyway, not a change request.Microsoft Certified IT Professional for Microsoft Dynamics NAV
Just a happy frood who knows where his towel is0 -
As mentioned before: the current problem is that "Excel Buffer" is not declared as a temporary record.
Anyway, if you want to learn more about blocks & deadlocks you might look into this!Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
stryk,
I figure one of the easiest way was to run SQL Activity monitor and sort the expensive column in a circumstances when user feedback that there was performance & locking issues....
what do you think of the idea ?0 -
Well, do you want to sit in from of the "SQL Activity Monitor" and wait for Blocks or Expensive queries?
I'd rather establish processes which automatically record problems, so you could investigate them any time you want. Also, once you record data, you can "weight" or "priorize" problems, you could count them and compare results before/after changes etc..
More about Blocks & Deadlocks:
http://dynamicsuser.net/blogs/stryk/archive/tags/Locking/default.aspx
More about "Expensive Queries":
http://dynamicsuser.net/blogs/stryk/archive/tags/Indexes/default.aspxJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
If you have the permissions, export all the recent changes to text, then do a search for table 370 and see if it is defined as temporary.
I had to use this technique when some developer defined the dimension table as not temporary and did a deleteall.
Sometimes a text search is the easiest way to find an error like this.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
davmac1,
thanks!0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions