Commit cf9a8bb
committed
feat(sqlite-setup): add SQLite setup guide for Windows environment
What
- Added documentation for setting up SQLite on Windows OS.
- Covered key steps:
- Downloading `sqlite-tools` from the official SQLite website.
- Extracting the zip file to a dedicated folder (e.g., `C:\sqlite`).
- Adding the folder path to Windows `PATH` environment variable.
- Verifying installation by running `sqlite3` command in Command Prompt.
- Explained how to create/open a database:
- `sqlite3 mydb.db` → creates or opens the database file.
- `.tables` → view available tables.
- `.schema` → view schema of tables.
Why
- Provides a clean setup guide for beginners working with SQLite on Windows.
- Ensures developers can quickly configure SQLite to run queries and connect via JDBC in Java.
- Standardizes environment setup across teams.
How to use
1. Download SQLite tools (sqlite-tools-win32-x86-x.y.z.zip).
2. Extract to `C:\sqlite`.
3. Add `C:\sqlite` to PATH:
- Control Panel → System → Advanced system settings → Environment Variables.
- Edit PATH variable → add new entry `C:\sqlite`.
4. Open Command Prompt:
```bash
sqlite3
• Should open SQLite shell with sqlite> prompt.
Real-life Applications
• Lightweight database for prototyping or small apps.
• Backend storage for local desktop or embedded applications.
• Used in Android development for local data persistence.
• Handy for practicing SQL queries without heavy DBMS installation.
Notes
• SQLite is serverless and file-based; .db file contains the entire database.
• Use .exit or .quit to close the SQLite shell.
• Ensure correct JDBC driver (sqlite-jdbc-x.y.z.jar) when integrating with Java.
Signed-off-by: https://github.com/Someshdiwan <[email protected]>1 parent 3accd49 commit cf9a8bb
File tree
6 files changed
+0
-0
lines changed- Section28JDBCusingSQLite/SQLite Setup Windows
6 files changed
+0
-0
lines changed
0 commit comments