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
- Open a table in Table Content, right-click the data grid, and choose AI → AI Generate Test Data.
- Set Rows to the number of sample records you want to generate.
- 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.
- 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.


Objects in this workflow
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.