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.
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.
- 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.
Availability and limits
Requires a configured AI provider and access to the AI Generate Test Data action.
- 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.