Here is something you posted on your forum that didn't seem to go anywhere.
SYS "LoadLibrary", "ODBC32.DLL" TO odbc%
SYS "GetProcAddress", odbc%, "SQLAllocEnv" TO `SQLAllocEnv`
SYS "GetProcAddress", odbc%, "SQLAllocConnect" TO `SQLAllocConnect`
SYS "GetProcAddress", odbc%, "SQLDriverConnect" TO `SQLDriverConnect`
SYS `SQLAllocEnv`, ^glEnv%
IF glEnv% = 0 ERROR 100, "Unable to initialize ODBC API drivers"
SYS `SQLAllocConnect`, glEnv%, ^glDbc%
IF glDbc% = 0 ERROR 100, "Unable to allocate memory for connection handle"
Connect$ = "DSN=" + DSN$ + ";UID=" + LoginID$ + ";PWD=" + Password$ + \
\ ";APP=" + AppCode$ + ";DATABASE=" + Database$
Result$ = STRING$(1024, CHR$0)
SYS `SQLDriverConnect`, glDbc%, @hwnd%, Connect$, LEN(Connect$), \
\ Result$, LEN(Result$), ^size%, 0 TO res%
IF res% ERROR 100, "Unable to connect to database"
Result$ = LEFT$(Result$, size%)
I downloaded the user contributed SQLite library and plan on giving it a try. The ODBC interface is an attractive option for Wine.