如何将多个sql文件合并为一个? [英] How to merge many sql files into one ?

查看:627
本文介绍了如何将多个sql文件合并为一个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们五个人正在开发一个项目,我们可以通过这个表格获取详细信息并将其存储在mysql数据库中。这将作为我们的主数据,我们需要使用此DB测试我们的其他模块。因此,如果我填写表格大约25次,并要求其他人也这样做,现在将有五个不同的本地数据库。如何将所有这些集成到一个?我最后需要一个巨大的数据库。



可能是最愚蠢的问题,但仍然,帮助我:)

Five of us are working on a project and there is this form where we get details and store it in a mysql db. This will serve as the master data for us and we need to test our other modules to the max with this DB. So if i fill the form for some 25 times and ask others to do the same, now there will be five different local database.How do I integrate all those into one? I need one huge DB at the last.

Could be the dumbest question, but still, help me :)

推荐答案

使用这样的东西有什么问题: http:// dev .mysql.com / doc / refman / 5.0 / en / insert-select.html [ ^ ]?



这当然是根据上述建议提出的问题你们都使用相同的表作为你的目标 - 因为,一般来说,如果你们都能观察到相同的表,你们都可以使用相同的表。当然,如果需要,开发团队可以获得此权限!



Is there any problem with using something like this: http://dev.mysql.com/doc/refman/5.0/en/insert-select.html[^] ?

This, of course, begs the question per the above suggestion that you all use the same table as your target - for, in general, if you can all observe the same table(s) you can all use the same table(s). Certainly permissions for this, if required, are available for a development team!


这篇关于如何将多个sql文件合并为一个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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