<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server (και άλλες databases)</title><link>https://www.dotnetzone.gr:443/cs/forums/28/ShowForum.aspx</link><description>Θέματα που αφορούν τον SQL Server (7.0, 2000, 2005) αλλά και Oracle, Access, DB2, MySQL, κλπ.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61966.aspx</link><pubDate>Tue, 28 Dec 2010 21:56:24 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61966</guid><dc:creator>spaceman</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61966.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61966</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Wizard!:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;P&gt;Σωστά! Άρα είχα καταλάβει λάθος τη σύνταξη... Οπότε αν ο χρήστης δώσει δύο λέξεις, η σύνταξη θα ήταν έτσι πχ;&lt;/P&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;
&lt;P&gt;N'"*ast*" OR "*eto*"'&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Τα * στην αρχη καθε λεξης δεν χρειαζονται&amp;nbsp; στο CONTAINS/CONTAINSTABLE(εκ παραδρομης τα συμπεριελαβα στα προηγουμενα post),&amp;nbsp; N'"ast*" OR "eto*"'.&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;CONTAINS can search for: &lt;BR&gt;A word or phrase.&lt;BR&gt;The &lt;STRONG&gt;prefix&lt;/STRONG&gt; of a word or phrase.&lt;BR&gt;.....................................&lt;BR&gt;&lt;BR&gt;--HTH--&lt;BR&gt;&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61965.aspx</link><pubDate>Tue, 28 Dec 2010 21:23:17 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61965</guid><dc:creator>Wizard!</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61965.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61965</wfw:commentRss><description>&lt;P&gt;Σωστά! Άρα είχα καταλάβει λάθος τη σύνταξη... Οπότε αν ο χρήστης δώσει δύο λέξεις, η σύνταξη θα ήταν έτσι πχ;&lt;/P&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#0000ff size=2 face="Courier New"&gt;
&lt;P&gt;N'"*ast*" OR "*eto*"'&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61964.aspx</link><pubDate>Tue, 28 Dec 2010 21:12:11 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61964</guid><dc:creator>spaceman</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61964.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61964</wfw:commentRss><description>&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CONTAINSTABLE&lt;/SPAN&gt;(dbo.view_AutoCompleteStations, *, N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'"*ast*"'&lt;/SPAN&gt;) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; KEY_TBL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;--HTH--&lt;/PRE&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61963.aspx</link><pubDate>Tue, 28 Dec 2010 21:06:39 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61963</guid><dc:creator>Wizard!</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61963.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61963</wfw:commentRss><description>&lt;P&gt;Ναι, οκ, sorry, λάθος δικό μου. Φυσικά και το AirPort_ID γίνεται JOIN στην αντίστοιχη αναζήτηση, όπως και το Station_ID στη δική του.&lt;/P&gt;
&lt;P&gt;Μετά από αρκετό παίδεμα, κατέληξα ότι παίζει μεν, αλλά όχι σωστά δε... Δηλαδή... Αν κάνω αναζήτηση με 'ast' στα Ports, μου φέρνει μόνο την παρακάτω γραμμή όπου βρίσκει ΑΚΡΙΒΩΣ το 'ast'&lt;/P&gt;
&lt;P&gt;City&amp;nbsp;PortID&amp;nbsp;PortName&amp;nbsp;PortCODE&amp;nbsp;Notes&lt;BR&gt;ASTAKOS&amp;nbsp;AST&amp;nbsp;ETOLOAKARNANIA (Small town)&lt;/P&gt;
&lt;P&gt;ενώ δε μου φέρνει αυτή, που το 'ast' υπάρχει σε 2 στήλες και αρχίζουν ονομασίες από αυτό...&lt;/P&gt;
&lt;P&gt;City&amp;nbsp;PortID&amp;nbsp;PortName&amp;nbsp;PortCODE&amp;nbsp;Notes&lt;BR&gt;ASTYPALEA&amp;nbsp;ASY&amp;nbsp;DODEKANISSOS (Port)&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61962.aspx</link><pubDate>Tue, 28 Dec 2010 20:46:45 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61962</guid><dc:creator>spaceman</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61962.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61962</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Wizard!:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;P&gt;Το script του spaceman φέρνει ~3800 εγγραφές.&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Ο full text index εχει δημιουργηθει&lt;/P&gt;
&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/P&gt;
&lt;P&gt;Το script του Αντώνη δε φέρνει τίποτα.&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Το script θα γυρισει εγγραφες, αν υπαρχει ενεργη διεργασια που δημιουργει ft index.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/P&gt;
&lt;P&gt;Το παρακάτω script επίσης δε φέρνει τίποτα ακόμα και μετά από 15':&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;TOP&lt;/SPAN&gt; 12 * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; view_AutoCompleteStations &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; FT_TBL &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WITH&lt;/SPAN&gt; (NOLOCK) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INNER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;JOIN&lt;/SPAN&gt;
	&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CONTAINSTABLE&lt;/SPAN&gt;(view_AutoCompleteStations, *, @Keyword) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; KEY_TBL
	&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; FT_TBL.StationID = KEY_TBL.[&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;KEY&lt;/SPAN&gt;] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ORDER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;BY&lt;/SPAN&gt; RANK &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DESC&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;/SPAN&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/PRE&gt;&lt;PRE&gt;Το create statement του ft index ειναι:&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CREATE&lt;/SPAN&gt; FULLTEXT &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; dbo.[view_AutoCompleteAirports]
.......&lt;FONT size=2&gt;&lt;FONT style="BACKGROUND-COLOR:#ffff00;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;KEY&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; idx_AirPort_ID;&lt;/FONT&gt; 
&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT size=2&gt;Αρα το .[&lt;/FONT&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;KEY&lt;/SPAN&gt;] του &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CONTAINSTABLE&lt;/SPAN&gt; πρεπει να γινει JOIN στο [AirPortID]:&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;TOP&lt;/SPAN&gt; 12 * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; view_AutoCompleteStations &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; FT_TBL &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WITH&lt;/SPAN&gt; (NOLOCK) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INNER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;JOIN&lt;/SPAN&gt;
	&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CONTAINSTABLE&lt;/SPAN&gt;(view_AutoCompleteStations, *, @Keyword) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; KEY_TBL
	&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; FT_TBL.Airport_ID = KEY_TBL.[&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;KEY&lt;/SPAN&gt;] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ORDER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;BY&lt;/SPAN&gt; RANK &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DESC&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;Χωρις να χρειαστει να κανεις join, μπορεις να δοκιμασεις κ το παρακατω&lt;BR&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CONTAINSTABLE&lt;/SPAN&gt;(dbo.view_AutoCompleteStations, *, N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'"*put a word here*"'&lt;/SPAN&gt;) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; KEY_TBL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;--HTH--&lt;/PRE&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61961.aspx</link><pubDate>Tue, 28 Dec 2010 18:55:54 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61961</guid><dc:creator>Wizard!</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61961.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61961</wfw:commentRss><description>&lt;P&gt;Λοιπόν, συνεχίζουν τα περίεργα... Όπως καταλαβαίνετε, μέσα στη βάση δεν υπάρχει μόνο ο πίκανας Airports αλλά και διάφοροι άλλοι όπως ο Stations. Ακολουθώντας ακριβώς την ίδια διαδικασία, έχω τα εξής:&lt;/P&gt;
&lt;P&gt;Το script του spaceman φέρνει ~3800 εγγραφές.&lt;/P&gt;
&lt;P&gt;Το script του Αντώνη δε φέρνει τίποτα.&lt;/P&gt;
&lt;P&gt;Το παρακάτω script επίσης δε φέρνει τίποτα ακόμα και μετά από 15':&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;TOP&lt;/SPAN&gt; 12 * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; view_AutoCompleteStations &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; FT_TBL &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WITH&lt;/SPAN&gt; (NOLOCK) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INNER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;JOIN&lt;/SPAN&gt;
	&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CONTAINSTABLE&lt;/SPAN&gt;(view_AutoCompleteStations, *, @Keyword) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt; KEY_TBL
	&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; FT_TBL.StationID = KEY_TBL.[&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;KEY&lt;/SPAN&gt;] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ORDER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;BY&lt;/SPAN&gt; RANK &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DESC&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;FONT size=2 face=Tahoma&gt;Δοκιμάζω μετά να κάνω όλη τη διαδικασία από την αρχή και πλέον δε φέρνει ούτε τα keywords... Τι κάνω λάθος...;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61959.aspx</link><pubDate>Tue, 28 Dec 2010 18:18:04 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61959</guid><dc:creator>Wizard!</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61959.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61959</wfw:commentRss><description>&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;spaceman:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; &lt;/P&gt;
&lt;P&gt;Αν το παρακατω επιστρεφει εγγραφες, τοτε ο full text index εχει δημιουργηθει k populated κανονικα:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; sys.dm_fts_index_keywords(&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DB_ID&lt;/SPAN&gt;(N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'B2COnline'&lt;/SPAN&gt;), &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OBJECT_ID&lt;/SPAN&gt;(N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'dbo.view_AutoCompleteAirports'&lt;/SPAN&gt;, N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'V'&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;--ΗΤΗ--&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Λοιπόν, το έτρεξα και μου έφερε κανονικά ~4000 εγγραφές. Αν όμως τρέξω το script, φέρω τα δεδομένα και το τρέξω πάλι, για περίπου 1' δε φέρνει τίποτα.&lt;/P&gt;
&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Antonios Chatzipavlis:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/P&gt;
&lt;P&gt;Επίσης θα ήθελα να μας πεις αν η παρακάτω σου φέρνει εγγραφές, αν σου φέρνει θα ήθελα το αποτέλεσμα της plz.&lt;/P&gt;
&lt;P&gt;&lt;FONT size=4 face="Courier New"&gt;select * from sys.dm_fts_outstanding_batches &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Το έτρεξα αρχικά και δεν έφερε τίποτα... Μετά την εκτέλεση όλης της διαδικασίας κι αφού πέρασε 1' όπως και παραπάνω, έφερε μια εγγραφή:&lt;/P&gt;
&lt;P&gt;7&amp;nbsp;6&amp;nbsp;930102354&amp;nbsp;264&amp;nbsp;0x23057DC0&amp;nbsp;0x250E8040&amp;nbsp;0x00000000&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;NO RETRY&amp;nbsp;0&amp;nbsp;0x000000000000FF7E&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Το περίεργο είναι, ότι ενώ εχθές είχα αφήσει να περάσει και 1' και 30' και 2 ώρες, δεν έφερνε τίποτα. Σήμερα που δοκίμασα να τρέξω όλη τη διαδικασία πάλι απλά για να σας πω τι φέρουν οι δύο δικές σας γραμμές, φαίνεται να τρέχει κανονικά και σε μικρό χρόνο να κάνει το rebuild.&lt;/P&gt;
&lt;P&gt;Σας ευχαριστώ και τους δύο για την πολύτιμη βοήθεια και το χρόνο σας :)&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61952.aspx</link><pubDate>Tue, 28 Dec 2010 06:06:26 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61952</guid><dc:creator>Antonios Chatzipavlis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61952.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61952</wfw:commentRss><description>&lt;P&gt;Έχεις δίκιο για την object_id. Έτσι όπως το είδα στα γρήγορα δεν το προσεξα και το είδα σαν τριτη παραμετρο στο dm και επειδή αυτό δεν έχει το είπα αυτό τώρα που το προσεξα καλύτερα έχεις δίκιο αναφερεται στην Object_ID&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61950.aspx</link><pubDate>Tue, 28 Dec 2010 05:51:44 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61950</guid><dc:creator>spaceman</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61950.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61950</wfw:commentRss><description>&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;BR&gt;...δεν υπάρχει η τελευταία παράμετρος&lt;BR&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Η N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'V' &lt;/SPAN&gt;?&amp;nbsp;&lt;BR&gt;&lt;STRONG&gt;OBJECT_ID ( '[ &lt;I&gt;database_name &lt;/I&gt;. [ &lt;I&gt;schema_name &lt;/I&gt;] .&amp;nbsp;| &lt;I&gt;schema_name &lt;/I&gt;. ]&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;I&gt;object_name&lt;/I&gt;'&amp;nbsp;[ ,'&lt;I&gt;object_type&lt;/I&gt;' ] )&lt;/STRONG&gt;&lt;/P&gt;

' &lt;I&gt;object_name&lt;/I&gt; ' : Is the object to be used. &lt;I&gt;object_name&lt;/I&gt; is either varchar or nvarchar. If &lt;I&gt;object_name&lt;/I&gt; is varchar, it is implicitly converted to nvarchar. Specifying the database and schema names is optional.
&lt;STRONG&gt;'&lt;/STRONG&gt; &lt;I&gt;object_type&lt;/I&gt; &lt;B&gt;'&lt;/B&gt; Is the schema-scoped object type. &lt;I&gt;object_type&lt;/I&gt; is either &lt;B&gt;varchar&lt;/B&gt; or &lt;B&gt;nvarchar&lt;/B&gt;. If &lt;I&gt;object_type&lt;/I&gt; is &lt;B&gt;varchar&lt;/B&gt;, it is implicitly converted to &lt;B&gt;nvarchar&lt;/B&gt;.
--ΗΤΗ--</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61944.aspx</link><pubDate>Tue, 28 Dec 2010 04:53:08 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61944</guid><dc:creator>Antonios Chatzipavlis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61944.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61944</wfw:commentRss><description>&lt;P&gt;Επίσης θα ήθελα να μας πεις αν η παρακάτω σου φέρνει εγγραφές, αν σου φέρνει θα ήθελα το αποτέλεσμα της plz.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" face="Courier New"&gt;select * from sys.dm_fts_outstanding_batches &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;μια μικρή διόρθωση στην εντολή που σου έδωσε ο φίλος spaceman δεν υπάρχει η τελευταία παράμετρος.&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61936.aspx</link><pubDate>Tue, 28 Dec 2010 02:45:03 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61936</guid><dc:creator>spaceman</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61936.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61936</wfw:commentRss><description>&lt;P&gt;Αν το παρακατω επιστρεφει εγγραφες, τοτε ο full text index εχει δημιουργηθει k populated κανονικα:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; sys.dm_fts_index_keywords(&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DB_ID&lt;/SPAN&gt;(N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'B2COnline'&lt;/SPAN&gt;), &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OBJECT_ID&lt;/SPAN&gt;(N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'dbo.view_AutoCompleteAirports'&lt;/SPAN&gt;, N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'V'&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;--ΗΤΗ--&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61934.aspx</link><pubDate>Tue, 28 Dec 2010 01:02:54 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61934</guid><dc:creator>Wizard!</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61934.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61934</wfw:commentRss><description>&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Antonios Chatzipavlis:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/P&gt;
&lt;P&gt;Ωραιότατα,&lt;/P&gt;
&lt;P&gt;Έχω μερικές ερωτήσεις που θα ήθελα αν μπορείς να μας απαντήσεις&lt;/P&gt;
&lt;P&gt;Αν έχω καταλάβει καλά το full text το βασίζεις πάνω στο indexed view σωστά;&lt;/P&gt;
&lt;P&gt;Αν ναι τότε πριν κάνεις truncate σβήνεις τον index πάνω στο view και μετα το view σωστά;&lt;/P&gt;
&lt;P&gt;Αυτό κανόνικά θα σου έβγαζε λάθος 7613 αν σου βγάζει πως το προσπερνάς? μήπως σβήνεις το fts?&lt;/P&gt;
&lt;P&gt;Κάνω τις ερωτήσεις αυτές γιατί προσπαθώ να καταλάβω το περιβάλλον και την λογική που έχεις πριν προχωρήσω παρακάτω&lt;/P&gt;
&lt;P&gt;Σε ευχαριστώ&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Εγώ ευχαριστώ :-)&lt;/P&gt;
&lt;P&gt;Λοιπόν, ναι, το ftc είναι βασιζμένο πάνω σε indexed view. Αυτό αναγκαστικά γιατί ψάχνω σε 3 διαφορετικά tables. Σας παραθέτω το script. Μετά την εκτέλεσή του, αντιγράφονται όλα τα δεδομένα στον ένα πίνακα για λόγους συγχρονισμού&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;USE&lt;/SPAN&gt; [B2COnline]
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DROP&lt;/SPAN&gt; FULLTEXT &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; dbo.[view_AutoCompleteAirports]

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;IF&lt;/SPAN&gt;  &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;EXISTS&lt;/SPAN&gt; (&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; sys.indexes &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;object_id&lt;/SPAN&gt; = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OBJECT_ID&lt;/SPAN&gt;(N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'[dbo].[view_AutoCompleteAirports]'&lt;/SPAN&gt;) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AND&lt;/SPAN&gt; name = N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'idx_AirPort_ID'&lt;/SPAN&gt;)
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DROP&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; [idx_AirPort_ID] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; [dbo].[view_AutoCompleteAirports] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WITH&lt;/SPAN&gt; ( ONLINE = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt; )
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;IF&lt;/SPAN&gt;  &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;EXISTS&lt;/SPAN&gt; (&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; sys.views &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;object_id&lt;/SPAN&gt; = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:fuchsia;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OBJECT_ID&lt;/SPAN&gt;(N&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:red;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;'[dbo].[view_AutoCompleteAirports]'&lt;/SPAN&gt;))
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;DROP&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;VIEW&lt;/SPAN&gt; [dbo].[view_AutoCompleteAirports]
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;TRUNCATE&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;TABLE&lt;/SPAN&gt; [dbo].[tbl_AirPorts]
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ANSI_NULLS&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;QUOTED_IDENTIFIER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;VIEW&lt;/SPAN&gt; [dbo].[view_AutoCompleteAirports] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WITH&lt;/SPAN&gt; SCHEMABINDING
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;AS&lt;/SPAN&gt;
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt;     dbo.tbl_Countries.Country, dbo.tbl_Countries.CountryGR, dbo.tbl_Countries.CountryCode, dbo.tbl_Cities.Country_ID, dbo.tbl_Cities.City, dbo.tbl_Cities.CityGR, 
                      dbo.tbl_Cities.CityCode, dbo.tbl_AirPorts.CityID, dbo.tbl_AirPorts.AirPortID, dbo.tbl_AirPorts.AirPortName, dbo.tbl_AirPorts.AirPortCODE
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt;         dbo.tbl_Countries &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INNER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;JOIN&lt;/SPAN&gt;
                      dbo.tbl_Cities &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; dbo.tbl_Countries.Country_ID = dbo.tbl_Cities.Country_ID &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INNER&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:silver;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;JOIN&lt;/SPAN&gt;
                      dbo.tbl_AirPorts &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; dbo.tbl_Cities.City_ID = dbo.tbl_AirPorts.CityID
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; ARITHABORT &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; CONCAT_NULL_YIELDS_NULL &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; ANSI_PADDING &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; ANSI_WARNINGS &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SET&lt;/SPAN&gt; NUMERIC_ROUNDABORT &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;UNIQUE&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CLUSTERED&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; [idx_AirPort_ID] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; [dbo].[view_AutoCompleteAirports] 
(
	[AirPortID] &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ASC&lt;/SPAN&gt;
)&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;WITH&lt;/SPAN&gt; (PAD_INDEX  = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;, STATISTICS_NORECOMPUTE  = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;, SORT_IN_TEMPDB = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;, IGNORE_DUP_KEY = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;, DROP_EXISTING = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;, ONLINE = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;OFF&lt;/SPAN&gt;, ALLOW_ROW_LOCKS  = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;, ALLOW_PAGE_LOCKS  = &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt;) &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; [&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;PRIMARY&lt;/SPAN&gt;]
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;CREATE&lt;/SPAN&gt; FULLTEXT &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; dbo.[view_AutoCompleteAirports]
( 
	Country, CountryGR, CountryCode, City, CityGR, CityCode, AirPortName, AirPortCODE
 ) 
&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;KEY&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; idx_AirPort_ID; 
GO

&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ALTER&lt;/SPAN&gt; FULLTEXT &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;INDEX&lt;/SPAN&gt; &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;ON&lt;/SPAN&gt; dbo.[view_AutoCompleteAirports] ENABLE;
GO&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61932.aspx</link><pubDate>Tue, 28 Dec 2010 00:49:25 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61932</guid><dc:creator>spaceman</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61932.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61932</wfw:commentRss><description>&lt;P&gt;Τι αποτελεσματα σου γυρναει το παρακατω?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:black;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;&lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN style="BACKGROUND-COLOR:transparent;FONT-FAMILY:Courier New;COLOR:blue;FONT-SIZE:11px;FONT-WEIGHT:normal;"&gt;FROM&lt;/SPAN&gt; sys.fulltext_indexes &lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Υποθετωντας, οτι δημιουργεις FT index με tsql, μηπως χρησιμοποιεις το option CHANGE_TRACKING = MANUAL or OFF/NO POPULATION ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61930.aspx</link><pubDate>Mon, 27 Dec 2010 23:58:54 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61930</guid><dc:creator>Antonios Chatzipavlis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61930.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61930</wfw:commentRss><description>&lt;P&gt;Ωραιότατα,&lt;/P&gt;&lt;P&gt;Έχω μερικές ερωτήσεις που θα ήθελα αν μπορείς να μας απαντήσεις&lt;/P&gt;&lt;P&gt;Αν έχω καταλάβει καλά το full text το βασίζεις πάνω στο indexed view σωστά;&lt;/P&gt;&lt;P&gt;Αν ναι τότε πριν κάνεις truncate σβήνεις τον index πάνω στο view και μετα το view σωστά;&lt;/P&gt;&lt;P&gt;Αυτό κανόνικά θα σου έβγαζε λάθος 7613 αν σου βγάζει πως το προσπερνάς? μήπως σβήνεις το fts?&lt;/P&gt;&lt;P&gt;Κάνω τις ερωτήσεις αυτές γιατί προσπαθώ να καταλάβω το περιβάλλον και την λογική που έχεις πριν προχωρήσω παρακάτω&lt;/P&gt;&lt;P&gt;Σε ευχαριστώ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Indexed Views &amp; Rebuild</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/61928.aspx</link><pubDate>Mon, 27 Dec 2010 23:16:06 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:61928</guid><dc:creator>Wizard!</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/61928.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=61928</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Antonios Chatzipavlis:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;P&gt;rebuild τον fts catalog τον έκανες;&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;To δοκίμασα κι αυτό, χωρίς αποτέλεσμα. Αν και δεν νομίζω να είναι δόκιμο τη στιγμή που ο κατάλος μπορεί να έχει κι άλλα indexes μέσα και να κάνει αρκετό χρόνο για rebuild.&lt;/P&gt;
&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;spaceman:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; &lt;/P&gt;
&lt;P&gt;Αν χρησιμοποιεις 2005 χωρις SP2, ισως αξιζει να ριξεις μια ματια σε αυτο: &lt;A href="http://support.microsoft.com/kb/928537"&gt;http://support.microsoft.com/kb/928537&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;--HTH--&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Όχι, είναι 2008 με όλα τα updates.&lt;/P&gt;</description></item></channel></rss>