执行全文索引的SQL脚本报错
wxcnl 2007-12-07 02:09:54 declare @FTCPath3 varchar(200)
set @FTCPath3=N'C:\Full Text Catalog'
if (select DATABASEPROPERTY(DB_NAME(), N'IsFullTextEnabled')) <> 1
exec sp_fulltext_database N'enable'
if not exists (select * from dbo.sysfulltextcatalogs where name = N'FT_NewsLetter')
EXEC dbo.sp_fulltext_catalog @ftcat=N'FT_NewsLetter', @action=N'create', @path=@FTCPath3
IF (OBJECTPROPERTY(OBJECT_ID(N'[dbo].[NewsLetters]'), 'TableFullTextCatalogId') = 0)
EXEC dbo.sp_fulltext_table @tabname=N'[dbo].[NewsLetters]', @action=N'create', @keyname=N'PK_NewsLetters', @ftcat=N'FT_NewsLetter'
GO
declare @lcid int
select @lcid=lcid from master.dbo.syslanguages where alias=N'English'
EXEC dbo.sp_fulltext_column @tabname=N'[dbo].[NewsLetters]', @colname=N'Content', @action=N'add', @language=@lcid
GO
EXEC dbo.sp_fulltext_table @tabname=N'[dbo].[NewsLetters]', @action=N'start_change_tracking'
GO
EXEC dbo.sp_fulltext_table @tabname=N'[dbo].[NewsLetters]', @action=N'start_background_updateindex'
GO
执行第一便
Warning: Table '[dbo].[NewsLetters]' does not have the option 'text in row' enabled and has full-text indexed columns that are of type image, text, or ntext. Full-text change tracking cannot track WRITETEXT or UPDATETEXT operations performed on these columns.
什么意思?怎么解决?
执行第二编
Msg 15631, Level 16, State 1, Procedure sp_fulltext_table, Line 239
Full-text change tracking is currently enabled for table '[dbo].[NewsLetters]'.
Msg 15633, Level 16, State 1, Procedure sp_fulltext_table, Line 368
Full-text auto propagation is currently enabled for table '[dbo].[NewsLetters]'.
什么意思?怎么解决?