On Jun 9, 2010, at 5:42 PM, Michael Bayer wrote:

> ah well that's the problem.   this detection code might be wrong for 2005, 
> 2008 as well.   
> 
> If you want to try out this PyODBC code, perhaps we need to check with the 
> pyodbc list:
> 
> connection = pyodbc.connect(...)
> print connection.getinfo(pyodbc.SQL_DBMS_VER)

oh whoops, you did that.   OK maybe we should dig around a bit.

running on 2008, I get:

10.00.1600


so i think here we are expecting it to be:

'8.00.760'

but you say you're getting, pre-tuple, '95.08.0255'

now here is something interesting.  If I google "8.00.760" or "10.00.1600" I 
get tons of hits related to SQL server issues and service packs.  If I google 
'95.08.0255', zero results.

maybe we can ask on the pyodbc list ?



> 
> 
> 
> On Jun 9, 2010, at 3:41 PM, Clovis Fabricio wrote:
> 
>> I should gather all information before hitting "send". Sorry for that;
>> 
>> print engine.execute("SELECT SERVERPROPERTY('productversion'),
>> SERVERPROPERTY ('productlevel'), SERVERPROPERTY
>> ('edition')").fetchone()
>> 
>> returns:
>> 
>> ('8.00.760', 'SP3', 'Enterprise Edition')
>> 
>> --
>> nosklo
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sqlalchemy" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/sqlalchemy?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to