Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing full text catalogs
Message
 
 
To
27/04/2008 15:22:47
General information
Forum:
Microsoft SQL Server
Category:
Full text indexing
Miscellaneous
Thread ID:
01313368
Message ID:
01313451
Views:
9
>Thanks, removing the indexes and then the catalogs is the way to do it.
>
>Basically, the following is the approach used:
>
>
>IF EXISTS (SELECT * FROM sys.fulltext_indexes fti WHERE fti.object_id = OBJECT_ID(N'[MyTable]'))
>ALTER FULLTEXT INDEX ON [MyTable] DISABLE
>GO
>
>IF EXISTS (SELECT * FROM sys.fulltext_indexes fti WHERE fti.object_id = OBJECT_ID(N'[MyTable]'))
>DROP FULLTEXT INDEX ON [MyTable]
>GO
>
>IF EXISTS (SELECT * FROM sysfulltextcatalogs ftc WHERE ftc.name = N'MyTable')
>DROP FULLTEXT CATALOG [MyTable]
>
Shouldn't be the last one sys.fulltext_catalogs, for consistency ?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform