====== pears.personinfo ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Gives consolidated address and phone etc fields for a Person record
===== Original SQL =====
create view "pears"."personinfo"( "personid",
"addressonline","phones" )
as select "person"."personid","pears"."GetPersonAddressOnLine"("person"."personid"),
"pears"."GetPersonPhoneInBlock"("person"."personid") from "pears"."person"
go
COMMENT ON VIEW "pears"."personinfo" IS
'Gives consolidated address and phone etc fields for a Person record'
go
COMMENT TO PRESERVE FORMAT ON VIEW "pears"."personinfo" IS
{create view personinfo
(personid,addressonline,phones)
as select person.personid,pears.GetPersonAddressOnLine(person.personid),
pears.GetPersonPhoneInBlock(person.personid) from pears.person
}