I am getting unexpected results with a Like Query using ASP and an
Access database.
This query -
SELECT PN, Qty From Inventory Where PN Like 'SSW-10%';
returns what I expect:
PN Qty
SSW-101-01-T-D 1780
SSW-101-01-T-D 1780
SSW-102-01-G-D 8900
.... but this one -
SELECT PN, Qty From Inventory Where PN Like 'SSW-101%';
returns 0 results, even though looking at the results above, it should
return 2 of the records.
The only difference is the additional character '101%' versus '10%'.
Offline, it returns what I expect.
Thanks in advance.
Access database.
This query -
SELECT PN, Qty From Inventory Where PN Like 'SSW-10%';
returns what I expect:
PN Qty
SSW-101-01-T-D 1780
SSW-101-01-T-D 1780
SSW-102-01-G-D 8900
.... but this one -
SELECT PN, Qty From Inventory Where PN Like 'SSW-101%';
returns 0 results, even though looking at the results above, it should
return 2 of the records.
The only difference is the additional character '101%' versus '10%'.
Offline, it returns what I expect.
Thanks in advance.
Comment