SqlOtter
← All featuresAssistance & preferences

AI Generate Test Data

Generate SQL test data with AI

Draft INSERT statements for synthetic rows using the selected table schema, a row count, and an English or Chinese test-data skill.

Requires a configured AI provider and access to the AI Generate Test Data action.

How it works

Use AI Generate Test Data to prepare sample rows for a development or QA database. Start from the table you want to populate, describe the values you need, and review the generated SQL in the AI panel.

A quick walkthrough

  1. Open a table in Table Content, right-click the data grid, and choose AI → AI Generate Test Data.
  2. Set Rows to the number of sample records you want to generate.
  3. In User Request, describe the values you want, such as short, fictional review notes in English. Under Skills, choose Generate English test data or Generate Chinese test data.
  4. Click OK to request a draft. In the AI panel, check the target table, columns, constraints, and row count before copying the INSERT statements or sending them to the SQL Editor.
The SqlOtter table grid context menu with AI Generate Test Data highlighted in the AI submenu.
The AI submenu for a MySQL review-notes table.
AI Generate Test Data dialog with Rows set to 8, English in User Request, and the English test-data skill checked.
The example requests 8 rows with the English test-data skill.

Objects in this workflow

  • Table
  • SQL query

What to know

  • Rows accepts 1–1,000.
  • For the built-in test-data workflow, SqlOtter sends the table schema as context and excludes existing row values from that context.
  • OK sends the AI request. Running the resulting SQL is a separate action in the SQL Editor.

Try it now

Put database work back into one focused workspace.

Start a Personal trial ↗