I do not have access to an ASE server so hard to say for sure. ASA does
have a server version constant, 'SELECT @@VERSION' which on my system
gives 22.214.171.1242 as the result.
Sybase ASE versions start at 11 I think and ASA stuff is always version
< 10, so maybe stripping out the first number from this string can tell
I don't think I can make this check in __init__ because the connection
doesn't exist yet. Maybe the makeConnection method? I would like to
just set a flag once for the module rather than check the version each
time a method is called...
Oleg Broytmann wrote:
> On Tue, Oct 31, 2006 at 04:11:24PM -0600, Aaron Bostick wrote:
>> On a side note, I was able to get the sybaseconnection.py code to work
>> with Sybase ASA by changing some of the SQL in that file.
> Have you found a way to distinguish ASA from ASE on the fly?
Get latest updates about Open Source Projects, Conferences and News.