Developer · DEV-22Submit an issue

Database table SQL generator

Configure columns, types and constraints to generate CREATE TABLE SQL instantly.

Column constraints · CREATE TABLE
Columns
Result
Usage guide and examples

Database table SQL generator

Supports primary keys, unique, not-null, auto-increment and default values for MySQL, PostgreSQL, SQL Server and SQLite.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

SQLite · users
id INTEGER · PRIMARY KEY
name TEXT

What to check in the result

CREATE TABLE … users …