Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.fulltext_indexes

  No additional text.


Syntax
CREATE VIEW sys.fulltext_indexes AS
	SELECT fti.id AS object_id,
		fti.indid AS unique_index_id,
		ftc.indepid AS fulltext_catalog_id,
		sysconv(bit, fti.status & 8) AS is_enabled,		--FTIND_ACTIVE
		convert(char(1), substring('OMxA',1+(fti.status&3),1)) AS change_tracking_state,	--FTIND_CHANGETRACKING | FTIND_AUTOUPDATE
		ts.name AS change_tracking_state_desc,
		sysconv(bit, fti.status & 16) AS has_crawl_completed,	--FTIND_CRAWLCOMPLETED
		fti.crtype AS crawl_type,
		ct.name AS crawl_type_desc,
		fti.crstart AS crawl_start_date,
		fti.crend AS crawl_end_date,
		fti.crtsnext AS incremental_timestamp,
		case ISNULL(fts.indepid,0)  -- NULL means using system default, change it to 0.
			WHEN -2 then NULL -- -2 means disabled, change it to null
			ELSE ISNULL(fts.indepid, 0)
		end AS stoplist_id,
		fti.fgid AS data_space_id
	FROM sys.sysftinds fti
	LEFT JOIN sys.syssingleobjrefs ftc ON ftc.depid = fti.id AND ftc.class = 39 AND ftc.depsubid = 0 -- SRC_FTITABTOCAT
	LEFT JOIN sys.syssingleobjrefs fts ON fts.depid = fti.id AND fts.class = 41 AND fts.depsubid = 0 -- SRC_FTITABTOSTOP
	LEFT JOIN sys.syspalvalues ts ON ts.class = 'FITS' AND ts.value = fti.status & 3
	LEFT JOIN sys.syspalnames ct ON ct.class = 'FTCT' AND ct.value = fti.crtype
	WHERE has_access('CO', fti.id) = 1

 
Last revision 2008RTM
See also

  sp_fulltext_catalog (Procedure)
sp_help_fulltext_catalogs (Procedure)
sp_help_fulltext_catalogs_cursor (Procedure)
sp_help_fulltext_tables (Procedure)
sp_help_fulltext_tables_cursor (Procedure)
sp_spaceused (Procedure)
       



News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash