Re: 'compute' deprecated (Re: rc3 looks good on OpenVMS)
Frediano Ziglio <freddy77 <at> gmail.com>
2016-04-29 17:50:45 GMT
2016-04-29 14:41 GMT+01:00 Craig A. Berry <craigberry <at> mac.com>:
>> On May 28, 2015, at 5:16 PM, Frediano Ziglio <freddy77 <at> gmail.com> wrote:
>> Il 28/Mag/2015 09:58, "Craig A. Berry" <craigberry <at> mac.com> ha scritto:
>>> With SQL 2012 this test below fails, but I
>>> think it's just because "compute" has been removed in SQL 2012:
>> Yes, that test check how compute queries reply so cannot work but is not a
>> Freetds issue
> I’m reviving this year-old thread because this is still a problem and getting to be a bigger one, and
while it isn’t FreeTDS’s fault, it is FreeTDS’s problem if its test suite can’t even run to
completion on 3 of the 4 currently-supported versions of Microsoft’s server (SQL 2005 went out of
support a week or two ago, so SQL 2008 is the only one that can run the test suite).
I though AppVeyor was running check against mssql 2012 !!
> The following tests are the ones affected:
> I tried (unsuccessfully) to come up with a way to skip the tests when running on SQL 2012 or greater. The
following check tells you what you’ve got, but only at run time, which is too late. The ‘compute’
keyword will still be seen at parse time so the script will already fail before this check runs. Plus it uses
Microsoft-specific functions that will probably not parse on Sybase.