SQLite Forum

Database anomaly
Login
> Thanks; I opened the initial database using an absolute path, namely,<br>
d:\sqlite32\db\ajay.db

I suggest sidestepping a host of "what is the pathname seen by library?" issues by using this pathname to the sqlite3_open call:<code>
   D:/sqlite32/db/ajay.db
</code>. (It has been ages since anything called "Windows" actually required backslash as the path-part separator.)

Your (and our) focus needs to be on what pathname is actually reaching the SQLite API. A debug print of it may be illuminating.