Skip to Content.
Sympa Menu

freetds - Re: [freetds] missing divide by zero error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Adam Baratz <adam.baratz AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] missing divide by zero error
  • Date: Thu, 13 Oct 2016 11:07:11 -0400

>
> Adam attached part of TDSDUMP in the first mail and the server
> is filling severity field with 0:


It turns out you have to call SET ARITHABORT/ARITHIGNORE/ANSI_WARNINGS ON
for these to come back as errors with the correct severity. MS documents
this. I think most of why it's confusing is that SSMS has them enabled by
default. But even with those settings, you still get a result. Mysteries of
TDS...




Archive powered by MHonArc 2.6.24.

Top of Page