Skip to Content.
Sympa Menu

freetds - [freetds] Null for "SELECT SERVERPROPERTY('productversion')"

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: hai wu <haiwu.us AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Null for "SELECT SERVERPROPERTY('productversion')"
  • Date: Thu, 19 Jul 2012 04:52:35 -0500

Freetds 0.64 is used here. When I used it to connect to a MS SQL 2008
named instance, I could retrieve value using:

SELECT @@SERVERNAME
SELECT @@VERSION

But when using:
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY
('productlevel'), SERVERPROPERTY ('edition')

It returns 'NULL' for all of them.

Any explanations?




Archive powered by MHonArc 2.6.24.

Top of Page