Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Schema initialization for QuestDB #47

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

devfinwiz
Copy link
Owner

To ensure table creation in QuestDB, you need to execute your SQL script in a QuestDB environment. Here are a few options:

1. QuestDB Web Console:

QuestDB provides a built-in web console that you can access through your web browser. Open your web browser and navigate to the QuestDB console URL (usually http://localhost:9000/).
Once you're on the console, you can copy and paste your SQL script into the query editor and execute it.

2. Command Line (HTTPie or cURL):

You can use tools like HTTPie or cURL to send HTTP requests to the QuestDB HTTP API. Here's an example using HTTPie:

http POST http://localhost:9000/exec query="$(cat setup_questdb_tables.sql)"

3. Using a SQL Client:

You can use third-party SQL clients like DBeaver, DBVisualizer, or others that support QuestDB. Configure the client to connect to your QuestDB instance and then execute the script through the client.

@devfinwiz devfinwiz merged commit a61e71a into master Dec 7, 2023
2 checks passed
@devfinwiz devfinwiz linked an issue Dec 7, 2023 that may be closed by this pull request
@devfinwiz devfinwiz deleted the schema_initialization_questdb branch December 7, 2023 16:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No SQL script to create tables in QuestDB ?
1 participant