Hi
I'm very new to SQL and databases in general. I have a vb.NET app in which I'm trying to send a SQL server to a SQL Server 2012 server.
For testing purposes Im using SQL SErver Management studio. I have one query that works, but when I try to use the exact same query using wildcard in the statement, it returns no results even though I know for a fact that the table contains such values.
This works:
SELECT number
FROM casenumber
WHERE number = '100510'
This, for some reason, does NOT work:
SELECT number
FROM casenumber
WHERE number LIKE '100%'
What am I doing wrong? Help, pretty please? Many thanks in advance!