Used DEF template SQL: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
# Drag them in and save as file; | # Drag them in and save as file; | ||
# Inactivate them in the Customisation menu; | # Inactivate them in the Customisation menu; | ||
[[NavBox Upgrade]] | |||
[[Category:NoPublic]] | [[Category:NoPublic]] | ||
[[Category:SQL Queries]] | [[Category:SQL Queries]] | ||
[[Category:NAA]] | [[Category:NAA]] | ||
Revision as of 13:59, 19 June 2014
This query lists which templates have been used
SELECT fieldreportdesc.fieldreportname, organisation.orgname, fieldreportdesc.`version`, fieldreportdesc.publisheddate, Count(fieldreport.fieldreport_guid), fieldreportdesc.isactive FROM fieldreport Inner Join fieldreportdesc ON fieldreportdesc.fieldreportdesc_guid = fieldreport.fieldreportdesc_guid Inner Join organisation ON organisation.org_guid = fieldreportdesc.org_guid GROUP BY fieldreportdesc.fieldreportname, organisation.orgname, fieldreportdesc.`version`, fieldreportdesc.publisheddate
If any of them are inactive then you need to:
- Activate them in the Customisation menu;
- Open Template Designer;
- Drag them in and save as file;
- Inactivate them in the Customisation menu;