New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).
SQL Query which returns points within a template instance that have Historic Enabled
EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Improve your search experience:
Exact phrase→Use quotes " "(e.g., "error 404")
Wildcard→Use * for partial words(e.g., build*, *tion)
AND / OR→Combine keywords(e.g., login AND error, login OR sign‑in)
Keep it short→Use 2–3 relevant words, not full sentences
Filters→Narrow results by section(Knowledge Base, Users, Products)
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-06-1609:22 PM
SQL Query which returns points within a template instance that have Historic Enabled
I am wanting to Audit GeoSCADA templates to see which data points within a pre-designed template have Historic Enabled. This is achievable for Analogue and Digital Points via the below SQL script (change CDNP3Dig for digital points):
SELECT WITH TEMPLATES
P."FullName" AS "~FullName", P."Id", P."TypeDesc", P."ParentGroupName", CASE WHEN AP."HistoricLogging" IS NOT NULL THEN 1 ELSE 0 END AS "Trended in GeoSCADA"
FROM
CDBOBJECT AS P LEFT OUTER JOIN CDNP3ANALOGIN AS AP ON ( P.ID = AP.ID )
WHERE
"~FullName" LIKE '~Templates%' AND P."TypeDesc" LIKE '%Point'
However I can't figure out which table to query for points of type "Internal Digital Point" ?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-06-1704:25 PM
CPointDigitalManual is the table for internal digitals.
To make it generic you can go from the other direction, get a list of historic configuration and just join on CDBPoint, e.g.
SELECT WITH TEMPLATES P.ID, P.FULLNAME, P.TYPEDESC, P.PARENTGROUPNAME FROM CHISTORY AS "H" LEFT JOIN CDBPOINT AS "P" ON H.ID = P.ID WHERE P.FULLNAME LIKE '~Templates.%' ORDER BY "FullName" ASC