Hi,
actually I have a customer that has problem with a sql report (SQL Server 2008) that locks a table in MS Dynamics NAV 2009.
Although the report is quite complex, it only reads records from the database, there is no write process (tested it with SQL Profiler),
thus I don't know why the table gets locked.
Is there a way to solve this issue.
Any help is greatly appreciated
Kind regards
0
Answers
Yes, that's correct.
The tool I use is Microsoft SQL Server Reporting Services.
It's part of Microsoft SQL Server, so I think it is a quite common tool.
How can I change the default isolation level via SQL?
I can't change anything about the target database.
Rsther then doing this, I'd suggest taking a look at redesigning the report to reduce the lock granularity and durations
the "SET TRANSACTION ISOLATION LEVEL" - Command solved the issue.
As far as I understood the command, the only disadvantage are dirty reads,
but this is no problem.
Thanks a lot.