The sybase and freetds modules provide access to Sybase (sybase and freetds modules) and MS SQL Server databases (freetds). Both modules are built from the same source code.
Requires qore 0.7.0+ and:
1) Sybase headers and libraries to build the "sybase" module
2) freetds headers and libraries to build the "freetds" module (formerly called "mssql")
Module documentation: http://qore.org/manual/modules/sybase-module-doc.html
The "sybase" and "freetds" DBI drivers are both built from the same source code. They support all Qore DBI features including stored procedure execution and binding by value
- transaction management is supported
- automatic transparent character set conversion is supported when necessary
- threading support
- stored procedure support with direct binding and retrieving values
- these drivers also support executing multiple queries within a single command and returning all results in a special format, see the documentation for more information
"sybase" module: Sybase DBI module requires Sybase OCS 15+ client libraries and headers (not tested with earlier versions, however it may work)
"freetds" module: FreeTDS-based Sybase and Microsoft SQL Server driver, requires FreeTDS headers and libraries
The latest source code can be checked out from svn with the following command:
svn co https://svn.qore.sf.net/svnroot/qore/module-sybase/trunk qore-module-sybase
RPMs for Linux can be found at the opensuse build service here: http://download.opensuse.org/repositories/devel:/languages:/misc/
Mac OS/X users can install the freetds module by using macports by issuing the following command
sudo port selfupdate
sudo port -vu install qore-freetds-module
The portfile can be found here: http://trac.macports.org/browser/trunk/dports/lang/qore-freetds-module/Portfile





