Report: individuals with and unclear date of death

From TNG_Wiki
Jump to navigation Jump to search

Description: individuals with an unclear date of death

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, lastname, firstname, deathdate, burialdate, gedcom FROM tng_people WHERE ((UCASE(deathdate) LIKE "%CA%") OR (UCASE(deathdate) LIKE "%ES%") OR (UCASE(deathdate) LIKE "%BEF%") OR (UCASE(deathdate) LIKE "%AFT%") OR (UCASE(deathdate) LIKE "%ABT%") OR (UCASE(deathdate) LIKE "%BEF%") OR (UCASE(deathdate) LIKE "%AFT%") OR DAYOFMONTH(deathdate)=0 OR MONTH(deathdate)=0) ORDER BY lastname, firstname, personID