I am trying to find out whether a database has a catalog开发者_Go百科 or not. I couldn’t find any system stored procedure to perform this task.
I need to find the catalog first then perform Full text search. If a catalog is not found, full text search is ignored.
In SQL Server 2005 or later, have you tried the following?
select is_fulltext_enabled from sys.databases
精彩评论