程序运行的时候出现这种情况! 37000:[Microsoft][ODBC SQL Server Driver][SQL Server]Can't allocate space for object'-104007088'in database 'tempdb' decause the 'default'segment is full.if you ran out of space in Syslogs,dump the transaction log.Otherwise,use ALTER DATABASE or sp_extendsegment to increase the size of the segment. 请问怎么做?
37000:[Microsoft][ODBC SQL Server Driver][SQL Server]Can't allocate space for object'-104007088'in database 'tempdb' decause the 'default'segment is full.if you ran out of space in Syslogs,dump the transaction log.Otherwise,use ALTER DATABASE or sp_extendsegment to increase the size
of the segment.
请问怎么做?
但是一般来说没必要你自己修改,他的默认值完全可以满足你的要求。
日志、数据库大小 他都是自动增长的。
按照的说的,日志,数据库大小改为自动增长。还是不行呀!你可以看一上面的错误!
GO
ALTER DATABASE 数据库名
MODIFY FILE
( NAME = 创建数据时的命名(非数据库名),
SIZE = 5MB,
MAXSIZE = 100MB,
FILEGROWTH = 5MB)
GO
以上,修改数据库大小,Log文件大小都一样。