https://github.com/h-d-owl/dbconsole
A console application that allows you to create and open databases and send any SQL queries to them.
https://github.com/h-d-owl/dbconsole
cli cli-tool command-line-tool console console-tool cpp database database-manager databases db sql sqlite sqlite-cli sqlite-database sqlite-shell sqlite3 unicode unicode-support utf16 windows
Last synced: about 1 month ago
JSON representation
A console application that allows you to create and open databases and send any SQL queries to them.
- Host: GitHub
- URL: https://github.com/h-d-owl/dbconsole
- Owner: H-D-OWL
- License: mit
- Created: 2025-06-24T09:47:52.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-25T11:39:36.000Z (12 months ago)
- Last Synced: 2025-06-25T12:32:41.035Z (12 months ago)
- Topics: cli, cli-tool, command-line-tool, console, console-tool, cpp, database, database-manager, databases, db, sql, sqlite, sqlite-cli, sqlite-database, sqlite-shell, sqlite3, unicode, unicode-support, utf16, windows
- Language: C++
- Homepage:
- Size: 3.63 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dbConsole
## Description
A console application that allows you to create and open databases and send any SQL queries to them.
Ideal for those who need a simple, no-installation SQL shell.
## Requirement
Target platform: Windows x64
## Features
* Working with sqlite3
* Processing multiple SQL queries in one input
* UTF‑16 support (for correct display of text in any language)
## Before use
0. Open "dbConsole.sln".
1. Make sure that "sqlite3.h" is in "Header Files". If the file is missing: right-click on "Header Files" -> Add -> Existing item -> select "sqlite3.h" from the "SQL" folder.
2. Right-click on "dbConsole" in Solution Explorer -> Properties -> C/C++ -> General -> Additional Include Directories -> Edit -> New Line -> ... -> select the "SQL" folder -> Ok -> Click "Apply".
3. Right click on “dbConsole” in Solution Explorer -> Properties -> Linker -> Input -> Additional Dependencies -> Edit -> write: “sqlite3.lib” -> Ok -> Click "Apply".
4. Right-click on "dbConsole" in Solution Explorer -> Properties -> Linker -> General -> Additional Library Directories -> Edit -> New Line -> ... -> select the "SQL" folder -> Ok -> Click "Apply".
## Usage
0. Navigate to the folder with dbConsole.exe (e.g. dbConsole\x64\Release).
1. Select the action. Open (1) or create and open (2) the database.

2. Enter the path by which the database will be opened or created and opened.

3. We enter any SQL queries.

## Warning
1. If you move or copy dbConsole.exe, be sure to include sqlite3.dll in the same folder, otherwise the program may not start.
2. If after entering the path you get the error: "Database error: bad parameter or other API misuse"
- 1. Run the program with administrator rights.
- 2. Check that the path contains only Latin letters (A-Z, a-z) and numbers (0-9) and does not contain non-Latin characters. (spaces are allowed)
## Notes
* The program is autonomous - it does not require other tools or the Internet.
* The program works with .db files.