I'm fairly new to SQL and I was trying to get a full list of products that match a user input of a productID. Something like:
SELECT ProductID, ProductName FROM Products WHERE ProductID LIKE '%15%'
I would like it to list out all the matching products such as: 15, 150, 2154, etc
Unfortunately I'm running into problems because the productID field is an INT and not a string. Is there some relatively simple way around this?