简体   繁体   English

如果已达到数据库的最大限制,sql异常错误号是多少?

[英]What's the sql exception error number if the maximum limit of the database has been reached

For example SQL Server 2005 Express has a limit of 4gb on the database size, and it has been reached after cumulative inserts of data. 例如,SQL Server 2005 Express的数据库大小限制为4gb,并且在累积插入数据后已达到该限制。 What will be the corresponding error number? 相应的错误号是多少?

消息1827,级别16,状态4,服务器SOMECOMPUTER \\ SQLEXPRESS,第1行CREATE DATABASE或ALTER DATABASE失败,因为最终的累积数据库大小将超出每个数据库4096 MB的许可限制。

I think these are the error codes you are looking for. 我认为这些是您要查找的错误代码。

Error 1827: 错误1827:

"CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database. (Microsoft SQL Server, Error: 1827)" “ CREATE DATABASE或ALTER DATABASE失败,因为最终的累积数据库大小将超出每个数据库4096 MB的许可限制。(Microsoft SQL Server,错误:1827)”

Error 1105: 错误1105:

"Could not allocate space for object 'dbo.t' in database 'ext' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup." “无法为数据库'ext'中的对象'dbo.t'分配空间,因为'PRIMARY'文件组已满。通过删除不需要的文件,删除文件组中的对象,向文件组添加其他文件或设置自动增长来创建磁盘空间打开文件组中的现有文件。”

Hope this helps 希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQL 服务器 - 内部错误:已达到表达式服务限制 - SQL Server - Internal error: An expression services limit has been reached 数据库的请求限制为30且已达到:此错误的请求计数的状态是多少? - The request limit for the database is 30 and has been reached: which statuses of request count for this error? 只有在未达到限制时才插入MySQL - Mysql insert only if limit has not been reached SQL存储过程添加值并在达到最大值后停止 - SQL stored procedure to add up values and stop once the maximum has been reached 如何限制我的sql数据库中的行数,然后在达到限制时覆盖一行? - how to limit number of line in my sql database and then overwrite a line when the limit is reached? SQL Server视图中的最大列数上限是多少? - What is the maximum upper limit on number of Columns in a SQL Server view? SQL 服务器:UNION 的数量有什么限制? - SQL Server: What's the limit on number of UNIONs? SQLite 如果未达到限制,则从其他表中添加内容 - SQLite Add content from other table if limit has not been reached SQL:错误,已达到表达式服务限制? - SQL: Error, Expression services limit reached? SQL Server用户实例错误:现有数据库已达到允许的最大数量 - SQL Server User Instances error: Existing databases has reached the max number allowed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM