Skip to Content.
Sympa Menu

freetds - Re: [freetds] tsql patch

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Maarten Boekhold <boekhold AT emirates.net.ae>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tsql patch
  • Date: Thu, 20 Sep 2007 18:50:59 +0400

Hi,

ZIGLIO, Frediano, VF-IT wrote:
I don't know if this patch should be applied.
This patch permit empty lines in batch. Allowing empty lines keep
consistency in error results.
Consider this batch

1> select 1
2> 3> raiserror('hello',16,1)

Without the patch error is detected at line 2 while is at line 3.

Which is how Sybase isql behaves (eg. throw an error in this situation) if I am not mistaken... That's probably why tsql currently treats this as an error as well.

Maarten




Archive powered by MHonArc 2.6.24.

Top of Page