SQLite for Excel

A lightweight wrapper to give access to the SQLite3 library from VBA
Download

SQLite for Excel Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Govert van Drimmelen
  • File Size:
  • 424 KB

SQLite for Excel Tags


SQLite for Excel Description

SQLite is a small, easy-to-use, open-source SQL database engine. SQLite for Excel was developed to be a lightweight wrapper to give access to the SQLite3 library from VBA. It provides a high-performance path to the SQLite3 API functions, preserving the semantics of the SQLite3 library calls and allowing access to the distributed SQLite3.dll without recompilation. The current release has the following parts: SQLite3_StdCall – A small and very simple C .dll that makes it possible to use the standard SQLite3 .dll from VBA. It just passes calls from VAB on to SQLite without any change in the parameters, but this allows the StdCall calling convention that VB6 and VBA is limited to. Sqlite3.bas VBA module – Has all the VBA Declares, and does the parameter and string conversions. It exposes a number of SQLite3xxxx functions. These map as directly as possible to the SQLite C API, with no change in the semantics. Although I have not exposed the whole API, most of the core interface is included, in particular the prepared statement, binding and retrieval functions. Date values are stored as Julian day real numbers in the database. Sqlite3Demo.bas VBA module – Has tests that serve as nice examples of how to use the SQLite3xxxx functions. SQLite3Demo.xls contains the two VBA modules.


SQLite for Excel Related Software