EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-06 02:53 PM . Last Modified: 2023-05-03 12:25 AM
>>Message imported from previous forum - Category:ClearSCADA Software<<
User: ROVSCADAENGINEER, originally posted: 2019-04-16 03:08:13 Id:407
I am wanting to generate reports of system changes with an SQL export done at timely intervals.
I am wondering which schema to query.
I understand that SCADA has an option where you can see all the "property changes" made on the system for a server. However when you observe this list I am unaware of anyway to see which schema class this is coming from. Does anyone have any idea how I might do this?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-06 02:54 PM
>>Responses imported from previous forum
Reply From User: dmercer, posted: 2019-04-16 05:46:07
In ClearSCADA lists, you can right click and then click on Edit Query to see what query it uses. In this case the default for property changes is:
`SELECT TOP( 1000000 )
"RecordId", "RecordTime", "ObjectName", "FieldName", "OldValue", "NewValue", "User", "OriginDesc"
FROM
CDBCONFIGCHANGES
WHERE
( "RecordTime" BETWEEN { OPC 'H-23H' } AND { OPC 'H+1H' } )
ORDER BY
"RecordTime" DESC`
Reply From User: ROVSCADAENGINEER, posted: 2019-04-16 21:27:15
That's extremely useful to know dean. Thankyou very much!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-06 02:54 PM
>>Responses imported from previous forum
Reply From User: dmercer, posted: 2019-04-16 05:46:07
In ClearSCADA lists, you can right click and then click on Edit Query to see what query it uses. In this case the default for property changes is:
`SELECT TOP( 1000000 )
"RecordId", "RecordTime", "ObjectName", "FieldName", "OldValue", "NewValue", "User", "OriginDesc"
FROM
CDBCONFIGCHANGES
WHERE
( "RecordTime" BETWEEN { OPC 'H-23H' } AND { OPC 'H+1H' } )
ORDER BY
"RecordTime" DESC`
Reply From User: ROVSCADAENGINEER, posted: 2019-04-16 21:27:15
That's extremely useful to know dean. Thankyou very much!
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.