tags:

views:

1207

answers:

1

Are there any free Sybase ASE 12.5x ODBC Drivers available, or does anyone have any experience with any paid ones? I'm looking for a fast and simple solution, but don't necessarily want to pay big bucks.

Thanks in advance.

+3  A: 

How about FreeTDS. ASE uses the TDS wire protocol for connections. FreeTDS looks like it does TDS in C++ as an ODBC driver.

[Original answer, but useful for other people looking for a Java solution:] jConnect. I just downloaded it from Sybase directly. (here's the manual) Its a type 4 jdbc driver that uses the TDS protocol. The jdbc url for connections is a little funky.

Here's an article comparing the 2 official Sybase drivers, jConnect and iAnywhere.

Hm, I see you specified ODBC, now that I've posted this. Heres an ODBC-JDBC bridge that you could use. I see what you mean, there are a lot of pay ODBC drivers out there, but some have free trials... your best bet might just be to use the free jdbc driver and a free odbc-jdbc bridge.

Wait, you must have an installation of ASE somewhere already if you are trying to connect to it. There would have been one that came with that. Also, some of the developers editions you can download from Sybase are free.

John Ellinwood
Thanks for the information, John. We'd prefer not to use JDBC, as we're interfacing via .NET only. Sorry, I should have clarified this in the question.
gibbo
Sure, looks like FreeTDS might work.
John Ellinwood
Thanks again, John. It looks like FreeTDS is a Unix/Linux only environment, though.
gibbo
I was just looking through the source code for it, and theres a win32 section. I'm not sure what all is in there though.
John Ellinwood
I don't have visual studio, but theres a MSVC6 folder that contains FreeTDS.dsp and FreeTDS.dsw. Check that out.
John Ellinwood
Heres a windows installer for the FreeTDS dll. http://freetds.sourceforge.net/FreeTDS%20Setup%200.64.1.exe
John Ellinwood
That did it! Thanks very much.
gibbo