pears.contactperson

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Gives names of people linked to Contact Event records

CREATE VIEW "pears"."contactperson"( "contacteventid",
  "pname","pkeyname","ppersonid" ) 
  AS SELECT "contactevent"."contacteventid","person"."name","person"."keyname","person"."personid"
    FROM "pears"."contactevent" KEY LEFT OUTER JOIN "pears"."person"
GO
 
COMMENT ON VIEW "pears"."contactperson" IS 
	'Gives names of people linked to Contact Event records'
GO
 
COMMENT TO PRESERVE FORMAT ON VIEW "pears"."contactperson" IS 
{CREATE VIEW contactperson 
(contacteventid,pname,pkeyname,ppersonid)
AS SELECT contacteventid,"name",keyname,person.personid
FROM pears.contactevent KEY LEFT OUTER JOIN pears.person
}
  • database/views/pears_contactperson.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1