[英]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.