{sql:select * from her_woodland
JOIN her_project on her_project.rowid=her_woodland.fileno
WHERE her_project.rowid = @File Number@
}







HISTORIC ENVIRONMENT RECORD INFORMATION

Prepared by {cpofficer}, Dyfed Archaeological Trust

Produced for {name} from the Regional Historic Environment Record:
Dyfed Archaeological Trust, The Shire Hall, 8 Carmarthen Street, Llandeilo, Carmarthenshire, SA19 6AF
Tel (01558) 823131 , Fax (01558) 823133 Email info@dyfedarchaeology.org.uk



Use of this information is subject to the terms and conditions of access to Welsh HER data published on DAT's website

www.dyfedarchaeology.org.uk


HISTORIC ENVIRONMENT FEATURES

 

Search criteria:

{HE1intro}


A search of the regional Historic Environment Record (HER) held by the Dyfed Archaeological Trust has identified the following historic environment features. These are listed and described below. Each feature is allocated a Primary Record Number (PRN) that should be quoted in any correspondence. Where the identification of a site is not certain then all possible interpretations are given in the type field e.g.'enclosure, henge'. Possible date ranges are also shown in this way in the period field. If a field contains no information then it is either not known or not applicable for that site.


Please contact the HER if you have any further questions regarding this information or if you have information that could improve these records in any way.



{subtable:
SELECT her_core.prn,

ifnull(her_core.name,' ') as name,

 

her_core.form,

 

ifnull(her_core.summary,' ') as s1,

ngr,

 

community,

 

ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_core_site_type.type,' ')) SEPARATOR ', '),' ') as t1,

 

ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_core_site_type.period,' ')) SEPARATOR ', '),' ') as p1,

 

ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_condition.condition,' ')) SEPARATOR ', '),' ') as c1,

 

ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_status.status,'None recorded ')) SEPARATOR ', '),' ') as status1,

 

ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_artefact.ftype,' '),' ',ifnull(her_artefact.fmaterial,' '),' ',ifnull(her_artefact.fnotes,' ')) SEPARATOR '/' ),' ') as artefact


FROM her_woodland
JOIN her_project_link on her_project_link.fileno=her_woodland.fileno
JOIN her_core on her_core.watprn=her_project_link.watprn
JOIN geo_locations on geo_locations.watprn=her_core.watprn
JOIN her_core_site_type on her_core_site_type.watprn=her_core.watprn

LEFT JOIN her_condition on her_condition.watprn=her_core.watprn
LEFT JOIN her_status on her_status.watprn=her_core.watprn

LEFT JOIN her_artefact on her_artefact.watprn=her_core.watprn
WHERE her_project_link.fileno=[rowid] and isnull(her_core.flag)

 

group by her_core.prn;
title:[b]PRN[/b] ,prn, [b]NAME[/b] , name , [br][b]TYPE[/b] ,t1, [b]PERIOD[/b] , p1, [br][b]NGR[/b] , ngr , [b]COMMUNITY[/B] ,community, [br][b]CONDITION[/b] ,c1, [b]STATUS[/b] [i],status1,[/i] [b]FORM[/b] ,form, [br][br][b]SUMMARY[/b][br],s1 , [br][br][b]ARTEFACTS[/B] ,artefact,  }



- HTML file produced {date("d.m.y")} DAT file number {fileno}.


Archaeological data, from the Historic Environment Record, supplied by The Dyfed Archaeological Trust in partnership with Local Authorities, Cadw and the partners of ENDEX DAT, 2009 (and in part Crown, 2009).