SELECT 
	person.pcucodeperson,
	person.pid,
	person.prename,
	person.fname,
	person.lname,
	person.sex,
	person.birth,
	person.nation,
	person.typelive,
	person.dateupdate
	#CASE WHEN cid13Chk(person.idcard)='f' and nation='99' THEN '/' ELSE NULL END 'เลขบัตรปชช.ไม่ถูกต้อง'
FROM 
	person
WHERE
	person.pcucodeperson IS NULL
OR person.pid IS NULL
OR person.prename IS NULL
OR person.fname IS NULL
OR person.lname IS NULL
OR person.sex IS NULL
OR person.birth IS NULL
OR person.nation IS NULL
OR person.typelive IS NULL
OR person.dateupdate IS NULL;