Whilst looking over server logs for SQL injection attacks it's fairly obvious what your looking for (ie. single quotes, 1=1, etc.) but it got me wondering about how 2=2 etc. is just the same to SQL.
So is there a way of checking for identical numbers separated by an equals sign?
ie. 1=1, 2=2, 3=3 all match but 1=2 wouldn't match.