专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 数据仓库

有了SQL脚本,怎样执行它在SQL2008里建立数据库解决方案

发布时间:2010-05-24 21:26:58 文章来源:www.iduyao.cn 采编人员:星星草
有了SQL脚本,怎样执行它在SQL2008里建立数据库
rt,怎么在SSMS里执行啊?
我点New Query和Database Engine Query执行那个*.sql脚本老报错...脚本是人家写好的
错误提示如下:
1. The CREATE DATABASE statement failed. The primary file must be at least 3 MB to accommodate a copy of the model database.
2. Database '***Database' does not exist. Make sure that the name is entered correctly.
3. User does not have permission to alter database '***Database', the database does not exist, or the database is not in a state that allows access checks.

------解决方案--------------------


检查一下你的这个文件中的 create database 语句。 你设置的主文件过小了。或者没有指定。
------解决方案--------------------
1. The CREATE DATABASE statement failed. The primary file must be at least 3 MB to accommodate a copy of the model database. 
2. Database '***Database' does not exist. Make sure that the name is entered correctly. 
3. User does not have permission to alter database '***Database', the database does not exist, or the database is not in a state that allows access checks.

检查一下MASTER、MODEL数据库,是否设置过小
------解决方案--------------------


WWWWA检查一下MASTER、MODEL数据库,是否设置过小

------解决方案--------------------
呵呵,自己解决更好,扩大数据库的体积吗?
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: