I've got a problem with SQL and image datatype query.
My program added automatically over 2000 images to the database. Unfortunately some of them are broken ( gray pattern instead of image ). I searched with SQL Managment Studio that the broken images have at the end of their binary notation many "02020202020202" data. The type of image content in this database is "image" ( can't change it ).
How can i search thought the entire database for images with 02020202 binary notation?
I try'ed "
Select * from im__Image where im_Preview LIKE '%02020%';
but of course it didn't work.
How can I in fast way get the list of images which are broken?