Declarations for interfacing with the ODBC library.
Adapted with minimal changes from the work of David L. Davis (refer to the original announcement).
etc.c.odbc.sql
is the the main include for ODBC v3.0+ Core functions, corresponding to the sql.h
C header file. It import
s public
ly etc.c.odbc.sqltypes
for conformity with the C header.
dmd
distribution (and typically not a part of the distribution packages of other compilers such as gdc
and ldc
). To use ODBC, install it per the vendor- and platform-specific instructions and then use the appropriate command-line flags (e.g. for dmd, -L-lodbc
on Posix and -Lodbc32.lib
on Windows) to link with the ODBC library. On Windows, using pragma(lib, "odbc32")
in D code at top level is also appropriate.
© 1999–2017 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/etc_c_odbc_sql.html