Define your columns, choose a database, and get a SQL script you can run straight away: an optional CREATE TABLE and batched INSERT statements written in the right syntax for PostgreSQL, MySQL, MariaDB, SQL Server, SQLite or Oracle. Nothing leaves your browser.
A table full of believable rows makes it far easier to test queries, indexes, reports and application screens. This tool generates the rows and writes them as a script for the database you use, so you can run it without editing.
TIMESTAMP in PostgreSQL and Oracle, DATETIME in MySQL, and DATETIME2 in SQL Server; a boolean becomes BOOLEAN, BIT or NUMBER(1).TRUE/FALSE or 1/0, Oracle dates use DATE '...' and TIMESTAMP '...' literals, and SQL Server strings use N'...'.INSERT ... VALUES statements, within each engine's limit (1,000 rows for SQL Server, 500 for SQLite). Oracle gets one INSERT per row and a COMMIT."...", `...` or [...] as the database expects.Columns in one row agree with each other: the email is built from that row's first and last name, and city, country, postal code and coordinates all describe the same place. Set a % null on any column to leave some values empty; those columns are created without NOT NULL.
Pick a preset or add your own columns, choose your database, set the number of rows, then copy or download the script and run it, for example with psql, mysql, sqlcmd, sqlite3 or SQL Developer.
PostgreSQL, MySQL, MariaDB, SQL Server, SQLite and Oracle. Each gets its own column types, value literals, identifier quoting and batching rules.
Yes. Untick Include CREATE TABLE and make the column names match your table; the script will contain only the INSERT statements.
No. Names are combined at random from common first and last names, emails use reserved example.com domains, and phone numbers use the 555 range, so nothing maps to a real person or a deliverable address.
VisuaLeaf
Open the table you just filled in VisuaLeaf to browse and edit rows, build queries visually, see your schema as a diagram, and chart the results. One client for PostgreSQL, MySQL, SQL Server, SQLite, Oracle and MongoDB.