Report: Faulty death dates

From TNG_Wiki
Jump to navigation Jump to search

Description: Faulty death 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, gedcom, lnprefix, lastname, firstname, deathdate, deathdatetr FROM tng_people 
WHERE Length( deathdate ) >4 
AND NOT 
(
deathdate LIKE "Abt%" OR deathdate LIKE "Cal %" OR deathdate LIKE "Bef %" 
OR deathdate LIKE "Aft %" OR deathdate LIKE "Est %" OR deathdate LIKE "Bet %" 
OR deathdate LIKE "% BC"
 ) 
AND deathdatetr LIKE "%-00-00"