Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Query only checking first word

$
0
0

So I am messing around with Microsoft Visual Studio for the first time and I have ran into a snag with SQL. I have it working except for the search feature. When ever someone queries the database it only checks the first word.

For instance,

If I search for "add" I get this as a result.

But if I search "mobile" I get this result.

For the Filter I have this :

SQL
LIKE?+'%'

I assume this is where the issue is, but I don't know a whole lot about C# or SQL queries.

:sadpanda


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>