select eventid from bw_events where start_dtval > '20171024' and end_dtval < '20171026';

select bw_value from bw_longstrings where bw_id in (SELECT eventid from bw_events where start_dtval > '20171024' and end_dtval < '20171026');

SELECT *  FROM bw_longstrings WHERE bw_value LIKE concat('%',CHAR(29),'%');

SELECT *  FROM bw_longstrings WHERE bw_value LIKE 0X251d25;
