<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bahramov's Personal Blog &#187; SQL Server 2008</title>
	<atom:link href="http://www.bahramov.com/tag/sql-server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bahramov.com</link>
	<description>Computers, databases, networks and virtualization</description>
	<lastBuildDate>Fri, 24 Jun 2011 12:05:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQL Server 2008 Full-Text Search &#8211; Getting list of system stopwords</title>
		<link>http://www.bahramov.com/2009/11/01/sql-server-2008-full-text-search-getting-list-of-system-stopwords/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.bahramov.com/2009/11/01/sql-server-2008-full-text-search-getting-list-of-system-stopwords/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 14:12:50 +0000</pubDate>
		<dc:creator>Zaur Bahramov</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Full-Text Search]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://www.bahramov.com/2009/11/01/sql-server-2008-full-text-search-getting-list-of-system-stopwords/</guid>
		<description><![CDATA[This will get the list of all languages supported by the SQL Server 2008 Full-Text Search:



Code Snippet


 &#8211; to determine run_value corresponding to locale [LCID - LoCale IDentifier]
SELECT lcid, name FROM sys.fulltext_languages



Result: 
lcid&#160;&#160;&#160;&#160;&#160;&#160;&#160; name   &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;    5124&#160;&#160;&#160;&#160;&#160;&#160;&#160; Chinese (Macau SAR)    4100&#160;&#160;&#160;&#160;&#160;&#160;&#160; Chinese (Singapore)    3098&#160;&#160;&#160;&#160;&#160;&#160;&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>This will get the list of all languages supported by the SQL Server 2008 Full-Text Search:</p>
</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:c1963708-2d99-43d1-a3a8-2b597b89c14e" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code Snippet</div>
<div style="background: #ddd; max-height: 300px; overflow: auto">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li> <span style="color:#008000">&#8211; to determine run_value corresponding to locale [LCID - LoCale IDentifier]</span></li>
<li style="background: #f3f3f3"><span style="color:#0000ff">SELECT</span> lcid<span style="color:#808080">,</span> name <span style="color:#0000ff">FROM</span> <span style="color:#008000">sys</span><span style="color:#808080">.</span><span style="color:#008000">fulltext_languages</span></li>
</ol></div>
</p></div>
</p></div>
<p>Result: </p>
<p>lcid&#160;&#160;&#160;&#160;&#160;&#160;&#160; name   <br />&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;    <br />5124&#160;&#160;&#160;&#160;&#160;&#160;&#160; Chinese (Macau SAR)    <br />4100&#160;&#160;&#160;&#160;&#160;&#160;&#160; Chinese (Singapore)    <br />3098&#160;&#160;&#160;&#160;&#160;&#160;&#160; Serbian (Cyrillic)    <br />3082&#160;&#160;&#160;&#160;&#160;&#160;&#160; Spanish    <br />3076&#160;&#160;&#160;&#160;&#160;&#160;&#160; Chinese (Hong Kong SAR, PRC)    <br />2074&#160;&#160;&#160;&#160;&#160;&#160;&#160; Serbian (Latin)    <br />2070&#160;&#160;&#160;&#160;&#160;&#160;&#160; Portuguese    <br />â€¦â€¦â€¦â€¦â€¦.    <br />1036&#160;&#160;&#160;&#160;&#160;&#160;&#160; French    <br />1033&#160;&#160;&#160;&#160;&#160;&#160;&#160; English    <br />1031&#160;&#160;&#160;&#160;&#160;&#160;&#160; German    <br />1028&#160;&#160;&#160;&#160;&#160;&#160;&#160; Traditional Chinese    <br />1027&#160;&#160;&#160;&#160;&#160;&#160;&#160; Catalan    <br />1026&#160;&#160;&#160;&#160;&#160;&#160;&#160; Bulgarian    <br />1025&#160;&#160;&#160;&#160;&#160;&#160;&#160; Arabic    <br />76&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 76    <br />69&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 69    <br />25&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 25    <br />13&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 13    <br />1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1    <br />0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Neutral </p>
<p>(53 row(s) affected)</p>
<p>The following query will bring the list of system stopwords corresponding to the English locale:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:75f02bb9-09ed-44e6-aa0d-1f3c49d6dd80" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code Snippet</div>
<div style="background: #ddd; max-height: 300px; overflow: auto">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li> <span style="color:#008000">&#8211; list all stopwords corresponding to 1033 locale [English]</span></li>
<li style="background: #f3f3f3"><span style="color:#0000ff">SELECT</span> <span style="color:#808080">*</span> <span style="color:#0000ff">FROM</span> <span style="color:#008000">sys</span><span style="color:#808080">.</span>fulltext_system_stopwords</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff">WHERE</span> language_id <span style="color:#808080">=</span> 1033</li>
</ol></div>
</p></div>
</p></div>
<p>&#160;</p>
<p>When this query is run 154 records containing system stopwords will be returned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bahramov.com/2009/11/01/sql-server-2008-full-text-search-getting-list-of-system-stopwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

