Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Feature Overview
  - DMD Manual
  - Articles
- Packages
- Community
  - Bug Tracker
  - Forums
  - IRC
  - D on GitHub
  - Wiki
  - Review Queue
  - Twitter
  - More Links
- Resources
  - NEW Library Reference Preview
  - D-Specific Tools
  - Visual D
  - Editors
  - IDEs
  - Tutorials
  - Books
  - The D Style
  - Glossary
  - Acknowledgments
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# etc.c.odbc.sql

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 imports publicly etc.c.odbc.sqltypes for conformity with the C header.

Note: The ODBC library itself not a part of the 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.

See Also:
ODBC API Reference on MSN Online
Copyright © 1999-2016 by Digital Mars ®, All Rights Reserved | Page generated by Ddoc on Mon Sep 19 09:25:34 2016