Generator schematów

Automatycznie generuj kod SQL DDL (CREATE TABLE) ze struktury pliku CSV.

Your files never leave your device. Processed locally. 100% private.

Unlocking Tool Engine...

Jak Używać Generator schematów

Wykonaj zadanie perfekcyjnie w zaledwie trzech prostych krokach.

1

Prześlij CSV

Upuść plik CSV.

2

Skonfiguruj

Wybierz dialekt SQL, nazwę tabeli i dostosuj automatycznie wykryte typy kolumn.

3

Pobierz SQL

Pobierz instrukcję CREATE TABLE DDL.

Często Zadawane Pytania

Wszystko, co musisz wiedzieć o Generator schematów.

Jakie dialekty SQL są obsługiwane?

PostgreSQL, MySQL, SQLite, SQL Server i BigQuery.

Czy typy danych są wykrywane automatycznie?

Tak — INTEGER, FLOAT, DATE, BOOLEAN i VARCHAR z wywnioskowanymi długościami.

Czy mój plik jest przesyłany?

Nie. Wszystko działa lokalnie w przeglądarce.

Limit rozmiaru pliku?

Przetwarzaj pliki aż do limitu pamięci przeglądarki.

Czy mogę dodać indeksy do DDL?

Tak — dodaj definicje PRIMARY KEY i INDEX przed pobraniem.

Can I customize the table name?

Yes. There is a table name input field above the generated DDL. By default it uses raw_data_import. Change it to your desired table name before copying — the table name is embedded throughout the CREATE TABLE statement.

How accurate is the type inference on messy real-world data?

Type inference is accurate for clean, consistently-typed columns. Edge cases to watch: mixed-type columns (e.g., a column with mostly numbers but some text like 'N/A') will fall through to VARCHAR — use CSV Repair or the Cleaner tool to standardize nulls first. Dates in non-ISO formats (e.g., 15-Jan-2024) may not be detected as TIMESTAMP — use the Date Fixer tool to standardize them to YYYY-MM-DD first.