Report: Faulty burial dates

From TNG_Wiki
Jump to navigation Jump to search

Description: Faulty burial dates


Copy and paste the text between the lines into the reports section below "OR Leave Display, Criteria and Sort fields blank and enter direct SQL SELECT statement here:" and give it the title you think is appropriate


SELECT personID, lnprefix, lastname, firstname, burialdate, burialdatetr FROM tng_people 
WHERE Length( burialdate ) >4 
AND NOT 
(burialdate LIKE "Abt%" OR burialdate LIKE "Cal %" OR burialdate LIKE "Bef %" 
OR burialdate LIKE "Aft %" OR burialdate LIKE "Est %" OR burialdate LIKE "Bet %" 
OR burialdate LIKE "% BC" ) AND burialdatetr LIKE "%-00-00"