Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 29th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. compare and fetch unique data, stored in comma separation
  2. select * from test
  3. where error_code REGEXP '(^444,|,444$|,444,|^444$)'
  4.        
  5. select error_type from table where error_code like '%300%'
  6.        
  7. select error_type from table where error_code like '%444%'