使用主数据库创建多个数据库 [英] Creating Multiple DataBase using master Database
本文介绍了使用主数据库创建多个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我想使用一个主数据库创建多个数据库.我们正在使用MS Access进行数据库创建.在创建新公司期间将创建新数据库.
这是2层架构.
前端是-Microsoft Visual Studio 2010(Windows应用程序).
&
后端-MS Access
请帮助我解决我的问题.任何对此有编码的人都请转发.
在此先感谢
Sheethal
Hi
I wanted to Create Multiple database Using one master database. We are using MS Access for database Creation. New Database will Create during Creating New Company.
it is a 2 tier Architecture.
Front End is - Microsoft Visual Studio 2010( Windows Application).
&
Back End - MS Access
Please Help me to resolve my problem. any one having Coding on this please forward.
Thanks in Advance
Sheethal
推荐答案
如果我正确理解了您的问题,您不能简单地创建一个具有适当结构的空Access数据库,等等作为模型".现在,当完成新安装时,仅使用文件复制将此模型数据库复制到正确的位置,您将有了一个新的起点.
之所以可以这样做,是因为Access数据库实际上只是一个平面文件,因此只要当前没有人使用它,就可以进行复制.
If I understood your question correctly, can''t you simply create an empty Access database with proper structure and so on as a ''model''. Now when a new installation is done, copy this model database using just file copy to proper place and you would have a fresh starting point.
This is possible since Access database is actually just a flat file so copying it is fine as long as no-one is using it at the moment.
这篇关于使用主数据库创建多个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文