日期:2014-05-18  浏览次数:20582 次

一个关于sql server6.5的问题
最近要对一个过去的数据库进行整理,是6.5版.
我在里边做插入操作产生错误.
操作为:
insert   into   reports(ReportIdentifier,ReportName,Category)
values( 'ProdRmNights ', 'TA/Company   Production-Room   Nights '   , 'management ')
产生错误:
Msg   1105,   Level   17,   State   1
Can 't   allocate   space   for   object   'Reports '   in   database   'WinData '   because   the   'Indexes '   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.
数据库为:Windata
reports为其中一个表.本人对6.5不是很了解,请高手给予帮助,谢谢!!!


------解决方案--------------------
'Indexes ' 已经满了,需要增加空间:收缩或截断日志;为数据库增加新的文件。
------解决方案--------------------

--截断事务日志
backup log 数据库名 with no_log
go

--收缩数据库
dbcc shrinkdatabase(数据库名)
go