17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

❑ IsLogFile — The file is a log file.<br />

❑ SpaceUsed — The amount of space used by the specified file.<br />

The return value from this function will be 1 for True, 0 for False, and NULL if the input was not valid,<br />

except for SpaceUsed (which will return the number of pages allocated in the file).<br />

FULLTEXTCATALOGPROPERTY<br />

The FULLTEXTCATALOGPROPERTY function returns data about the full-text catalog properties. The syntax<br />

is as follows:<br />

FULLTEXTCATALOGPROPERTY(, )<br />

The catalog_name parameter specifies the name of the full-text catalog. The property parameter specifies<br />

the property that is being queried. The properties that can be queried are:<br />

❑ PopulateStatus — For which the possible return values are: 0 (idle), 1 (population in progress),<br />

2 (paused), 3 (throttled), 4 (recovering), 5 (shutdown), 6 (incremental population in progress), 7<br />

(updating index).<br />

❑ ItemCount — Returns the number of full-text indexed items currently in the full-text catalog.<br />

❑ IndexSize — Returns the size of the full-text index in megabytes.<br />

❑ UniqueKeyCount — Returns the number of unique words that make up the full-text index in<br />

this catalog.<br />

❑ LogSize — Returns the size (in bytes) of the combined set of error logs associated with a fulltext<br />

catalog.<br />

❑ PopulateCompletionAge — Returns the difference (in seconds) between the completion of the<br />

last full-text index population and 01/01/1990 00:00:00.<br />

FULLTEXTSERVICEPROPERTY<br />

The FULLTEXTSERVICEPROPERTY function returns data about the full-text service-level properties. The<br />

syntax is as follows:<br />

FULLTEXTSERVICEPROPERTY()<br />

The property parameter specifies the name of the service-level property that is to be queried. The<br />

property parameter may be one of the following values:<br />

❑ ResourceUsage — Returns a value from 1 (background) to 5 (dedicated).<br />

Apendix A: System Functions<br />

❑ ConnectTimeOut — Returns the number of seconds that the Search Service will wait for all connections<br />

to <strong>SQL</strong> <strong>Server</strong> for full-text index population before timing out.<br />

❑ IsFulltextInstalled — Returns 1 if Full-Text Service is installed on the computer and a 0<br />

otherwise.<br />

621

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!