不讲那么多废话,全文检索确实快。现把Script粘出来,有不明白的回帖
很久不写东西,语言组织不起来。见谅!

if (select DATABASEPROPERTY(DB_NAME(), N'IsFullTextEnabled')) <> 1
exec sp_fulltext_database N'enable'

GO

if not exists (select * from dbo.sysfulltextcatalogs where name = N'Q_product')
exec sp_fulltext_catalog N'Q_product', N'create'

GO

if (select DATABASEPROPERTY(DB_NAME(), N'IsFullTextEnabled')) <> 1
exec sp_fulltext_database N'enable'

GO

if not exists (select * from dbo.sysfulltextcatalogs where name = N'Q_product')
exec sp_fulltext_catalog N'Q_product', N'create'

GO

exec sp_fulltext_table N'[dbo].[C_Product]', N'create', N'Q_product', N'PK_C_Product'
GO

exec sp_fulltext_column N'[dbo].[C_Product]', N'TypeMark', N'add', 2052 
GO

exec sp_fulltext_table N'[dbo].[C_Product]', N'activate' 
GO

exec sp_fulltext_catalog 'Q_product','start_full'
GO

exec sp_fulltext_table N'[dbo].[C_Product]',N'start_change_tracking'
GO

exec sp_fulltext_table N'[dbo].[C_Product]',N'Start_background_updateindex'
GO

exec sp_fulltext_table N'[dbo].[C_Product]',N'update_index'
GO

 

相关文章:

  • 2022-01-18
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-09-20
  • 2021-08-09
猜你喜欢
  • 2021-10-13
  • 2021-06-17
  • 2021-11-11
  • 2021-10-31
  • 2021-09-06
相关资源
相似解决方案