comparing to text
no pdb
try except for sql
loop through today, yesterday, last week offsets