Report: People without any dates

From TNG_Wiki
Jump to navigation Jump to search

Description: People without any 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, lastname, firstname, living, gedcom FROM tng_people WHERE ((birthdate is NULL) OR (birthdate="")) AND (birthdatetr="0000-00-00") AND ((altbirthdate is NULL) OR (altbirthdate="")) AND (altbirthdatetr="0000-00-00") AND ((deathdate is NULL) OR (deathdate="")) AND (deathdatetr="0000-00-00") AND ((burialdate is NULL) OR (burialdate="")) AND (burialdatetr="0000-00-00") ORDER BY lastname, firstname