删除废弃的全文索引

今天要备份一个数据库,结果发现死活备份不了。

错误日志大概就是:

The backup of the file or filegroup "sysft_db_FullText" is not permitted because it is not online. BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the selection to include only online data.

显然是全文索引找不到目录,那既然不用了,就删掉呗,如何删除呢?

一步步来:

1. 查看当前数据库的全文索引信息

--全文索引目录
sp_help_fulltext_catalogs
--全文索引列
sp_help_fulltext_columns
--全文索引表
sp_help_fulltext_tables

 

2. 既然找到了。那就删掉它吧。

首先要删除全文索引index,再删除全文索引目录

Code

 

然后就搞定了!


 

posted @ 2009-04-15 18:27  stefanie  阅读(390)  评论(1编辑  收藏  举报