-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
53 lines (38 loc) · 2.2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
sybase and freetds modules for Qore
version 1.0.4 by David Nichols
Requires qore 0.7.1+ 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 SAP (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
FreeTDS website: http://www.freetds.org
Documentation in docs/sybase-module-doc.html
test/example script: test/db-test.q
LICENSE
-------
The source code is released under the LGPL 2.1 and MIT licenses; either license
may be used at the user's discretion. Note that both licenses are treated
equally by the Qore library in the sense that both licenses allow the module
to be loaded without restrictions by the Qore library (even when the Qore
library is initialized in GPL mode).
See COPYING.MIT and COPYING.LGPL for details on the open-source licenses.
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