I have a varchar(11) table and all its entries will look something like this.
Table
123456-7890
101112-1314
I need to find everything that has
??12??-????
(? Being any character) How would I do this?
Edit: Thanks bill!!
SELECT * FROM myTable WHERE myfield LIKE '__12%'
Is what i was looking for :)