Why the Full-Text indexing option is greyed out?

前端 未结 7 1075
故里飘歌
故里飘歌 2021-02-18 16:06

I installed SQL Server 2008 Express with Advanced Services, but when I try to create a new database, the option Full-Text indexing is greyed out, I believe the full-text indexin

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-18 16:49

    Is the service started? I think a default install of 2008 Express has FTS stopped.

    In 2005 Express (IIRC) you had to make the catalogs manually, rather than through managmement studio; you could try that and see if you get an error:

    use MyDatabaseName
    go
    EXEC sp_fulltext_database 'enable'
    go
    CREATE FULLTEXT CATALOG MyFullTextCatalog
    

    If you need to manually create the indexes you can do something like:

    CREATE FULLTEXT INDEX ON MyDatabaseName.dbo.MyTableToSearch
    (
    MySearchColumn
    Language 1033
    )
    KEY INDEX MyCurrentIndex;
    

提交回复
热议问题