<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>dbFront.com - Recent questions in Unknown</title>
<link>https://dbfront.com/qa/questions/unknown</link>
<description>Powered by Question2Answer</description>
<item>
<title>10,000 Spam registration attempts per day</title>
<link>https://dbfront.com/qa/1035/10-000-spam-registration-attempts-per-day</link>
<description>&lt;p&gt;Why is it so difficult to register for this Q/A site and why  must I use the email address associated with my dbFront license?&lt;/p&gt;
</description>
<category>Unknown</category>
<guid isPermaLink="true">https://dbfront.com/qa/1035/10-000-spam-registration-attempts-per-day</guid>
<pubDate>Sat, 18 Sep 2021 13:34:54 +0000</pubDate>
</item>
<item>
<title>Search function includes every field?</title>
<link>https://dbfront.com/qa/397/search-function-includes-every-field</link>
<description>&lt;p&gt;I have a table with a large number of columns. Searching in the box at the top of the table takes longer than expected (a minute or more). I traced to see what's going on and it appears that every column in the table is search for the value put into the search box (not just those designated in the &quot;Search Fields&quot; tab).&lt;br&gt;
There are 17 columns in the table. Only six of the columns are selected as the &quot;Search Fields&quot;.&lt;/p&gt;
&lt;p&gt;One of the columns in &quot;Search Fields&quot; has a label that contains the month name and year. So I search for 'Jul 2019' and the trace shows these params in the query:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   @P0M=N'%Jul%'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;,      @P1M=N'%Jul%'&lt;br&gt;
,      @P2M=N'%Jul%'&lt;br&gt;
,      @P3M=N'%Jul%'&lt;br&gt;
,      @P4M=N'%Jul%'&lt;br&gt;
,      @P5M=N'%Jul%'&lt;br&gt;
,      @P6M=N'%Jul%'&lt;br&gt;
,      @P7M=N'%Jul%'&lt;br&gt;
,      @P8M=N'%Jul%'&lt;br&gt;
,      @P9M=N'%Jul%'&lt;br&gt;
,      @P10M=N'%Jul%'&lt;br&gt;
,      @P11M=N'%Jul%'&lt;br&gt;
,      @P12M=N'%Jul%'&lt;br&gt;
,      @P13M=N'%2019%'&lt;br&gt;
,      @P14M=N'%2019%'&lt;br&gt;
,      @P15M=N'%2019%'&lt;br&gt;
,      @P16M=N'%2019%'&lt;br&gt;
,      @P17M=N'%2019%'&lt;br&gt;
,      @P18M=N'%2019%'&lt;br&gt;
,      @P19M=N'%2019%'&lt;br&gt;
,      @P20M=N'%2019%'&lt;br&gt;
,      @P21M=N'%2019%'&lt;br&gt;
,      @P22M=N'%2019%'&lt;br&gt;
,      @P23M=N'%2019%'&lt;br&gt;
,      @P24M=N'%2019%'&lt;br&gt;
,      @P25M=N'%2019%'&lt;br&gt;
,      @P26M=N'%2019%'&lt;br&gt;
,      @P27M=N'%2019%'&lt;br&gt;
,      @P28M=N'%2019%'&lt;br&gt;
,      @P29M=N'%2019%'&lt;/p&gt;
&lt;p&gt;The WHERE clause has many OR statements with nested queries inside. Like this:&lt;br&gt;
OR(&lt;br&gt;
SELECT ISNULL(CONVERT(VARCHAR(255), P.columnname), '')&lt;br&gt;
FROM   dbo.table1 P&lt;br&gt;
WHERE  P.columnname=T.columnname&lt;br&gt;
AND P.columnname=T.columnname&lt;br&gt;
) LIKE @P4M&lt;/p&gt;
&lt;p&gt;It looks like every column is compared to both search terms 'Jul' and '2019'.&lt;/p&gt;
&lt;p&gt;Is this the expected search behavior or is there something I can do to limit the searched columns (other than selecting them in &quot;Search Fields&quot;)?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description>
<category>Unknown</category>
<guid isPermaLink="true">https://dbfront.com/qa/397/search-function-includes-every-field</guid>
<pubDate>Thu, 11 Apr 2019 21:53:07 +0000</pubDate>
</item>
</channel>
</rss>