View Single Post
Old 15-04-2008, 21:26   #4 (permalink)
Hunch
Grumpy old man
 
Hunch's Avatar
 
Join Date: Oct 2007
Location: North Japan
Posts: 1,398
I believe you can do it with something like:

SELECT COUNT(*) FROM table_name
WHERE where column_name LIKE '%substring%';

Please note, I haven't tested this. It should return a single row containing a number which is the number of times the substring appears in the column. The % signs are necessary.
  Reply With Quote