如何创建数据库 [英] how to create database

查看:77
本文介绍了如何创建数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮我如何使用相同的数据创建数据库(存在于某些数据库中),当我尝试创建数据库时,它显示错误相同的数据将存在于某个数据库中

例如:现有数据库是KK

新数据库是KKA

Can anyone help me how to create database with the same data(existing in some database),While i am trying to create Database it shows error "same data will be in some database"
eg: Existing database is KK
New database is KKA

推荐答案

如果你想要DB的副本,最简单的解决方案是备份第一个数据库然后以不同的名称恢复刚创建的备份。



对于SQL Server:

都可以从对象浏览器中完成SQL Server Management Studio。



也可以从T-SQL完成。请参阅:



恢复:

http://technet.microsoft.com/en-us/library/ms190447%28v=sql。 105%29.aspx



备份:

http://technet.microsoft.com/en-us/library/ms191304%28v = sql.105%29.aspx



其他数据库引擎也有类似的设施。
If you want a copy of the DB the simplest solution is to backup the first DB and then restore the just created backup under a different name.

For SQL Server:
Can all be done from the Object Browser in SQL Server Management Studio.

Can also be done from T-SQL. See:

Restore:
http://technet.microsoft.com/en-us/library/ms190447%28v=sql.105%29.aspx

Backup:
http://technet.microsoft.com/en-us/library/ms191304%28v=sql.105%29.aspx

Other DB engines will have similar facilities.


检查出来:



复制SQL数据库向导





您可以从页面的顶部链接中选择数据库版本。
Check this out:

Copy SQL Database Wizard


You can select your database version from the top link of the page.


这篇关于如何创建数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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