SQL Stuff

Find All FullText Locations

Here’s some quick SQL logic to give you the location of your FullText Catalogs. Additionally; it will show you which FullText is Offline, or Online.


use master;
set nocount on
select
'database' = db_name(database_id)
, 'state desc' = state_desc
, 'type desc' = type_desc
, 'path' = physical_name
from
sys.master_files where file_id > 2 and type > 1
order by
db_name(database_id) asc
Advertisements

Categories: SQL Stuff

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s