自动生成带有伪数据的sql插入语句 [英] Automatically generate sql insert statement with dummy data

查看:151
本文介绍了自动生成带有伪数据的sql插入语句的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

用虚拟数据填充SQL表的最快方法

我正在寻找一种工具,该工具将为填充有伪数据的现有数据库生成插入语句。

这是为了允许对系统进行测试。

I'm looking for a tool that will generate insert statement for an existing database filled with dummy data.
This is meant to allow testing of the system.

我正在考虑读取每个字段的类型并相应地生成数据的东西。例如,如果字段名称是用户名,则最好是它实际上知道使用通用用户名。显然,它也应该使数据库关系保持具有外键约束。

I'm thinking about something that reads the type of each field and generates data accordingly. If the field name is "username" for example, it's best if it actually knows to take common user names. It should obviously also keep database relations with foreign key constraints.

这看起来并不难写。

感谢奥姆里

推荐答案

我使用这一个
http://www.genicata.com/ 及其它的免费:)

i use this one http://www.generatedata.com/ and its free :)

这篇关于自动生成带有伪数据的sql插入语句的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆