SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Setting arithabort on in SSRS


Setting arithabort on in SSRS

Author
Message
MadAdmin
MadAdmin
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2806 Visits: 1984
Anyone know if this is possible? Have been consistently using a plan which does not have arithabort even though I set the option in the proc.
When run manually in ssms, a plan gets create with arithabort.
Even after I set arithabort on in start of stored proc, when I run it on ssrs, it is reusing the plan without the arithabort.
Have already rewrote the proc with dynamic sql.
Also, I have passed parameters to local variables.

Regards
MadTester/Madadmin

Catch-all queries done right
Gail Shaw's Performance Blog
MadAdmin
MadAdmin
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2806 Visits: 1984
For anyone googling, the solution is that SSRS does not explicitly set the arithabort option.
It will inherit whatever is set at the DB level.
In my case, the DB's have been upgraded from 2000 to 2008 so the arithabort option is off as it was defaulted to OFF.
You should not have the issue with DB's created with 2008 since it defaults to on, but if DB was created using SQL2000, would have defaulted to OFF.

Catch-all queries done right
Gail Shaw's Performance Blog
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search