sybase and freetds modules for Qore
version 1.0.3 by David Nichols

Requires qore 0.7.0+ and either or both of:
1) Sybase headers and libraries to build the "sybase" module
2) freetds headers and libraries to build the "freetds" module (formerly called "mssql")

The "sybase" and "freetds" DBI drivers are 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 should work)
Use --with-sybase or set the SYBASE and SYBASE_OCS environment variables to build the "sybase" module.

"freetds" module: FreeTDS-based Sybase and Microsoft SQL Server driver, requires FreeTDS headers and libraries
User --with-freetds or set the FREETDS environment variable to your FreeTDS installation to build.  Note that the "freetds" driver is built from the same source as the "sybase" driver and can be used to connect to sybase and MS SQL Server databases
only tested so far with freetds 0.64 through 0.82, sybase ASE 15.0.1 and MS SQL Server 2005 SP2 (express edition)
FreeTDS website: http://www.freetds.org

Documentation in docs/sybase-module-doc.html

test/example script: test/db-test.q


BUILD AND INSTALL
-----------------

configure
make
sudo make install

The configure script will find out where your qore module directory is found and set this for the install directory.


BUILD FROM SVN
--------------

reconf.sh
configure
make
sudo make install
