Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a report blocks Microsoft SQL(2000) users

Status
Not open for further replies.

bquick01

Programmer
Jun 5, 2001
1
US
I have noticed that when someone in our company runs a long report, it will block other users until the report is done. Is there a way to prevent this? It's not important to us if the info is updated while the report is ran.
 
Crystal runs at the lowest possible locking level, read uncommitted. So from a locking perspective, it shouldn't lock anyone out.

Is the data source a stored procedure? You can make sure in a stored proc that you're running with the lowest possible locking level by putting this command at the top of the proc:

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

Or the report could be exhausting some other db resource.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top