There are no errors attached.
If it stopped working and you didn't change anything in TWX, my best guess something changed on the database, either in column definition or column content/format.
Thanks Rocko,
There should no database change in behind, as the query was wrapped in a service in historian db thing, when I manually run that query service it works and returns data, it just failed to return data when called in another service.
Cheers
In that case you might be using the wrong user or connect to the wrong database.
Hi @GY_10982725
If any of the responses were helpful, please mark the appropriate one as the Accepted Solution for the benefit of others in the community.
Regards.
--Sharon
Hello @GY_10982725,
You use parameters like "PIPoint", "st" and "step" -- log those, too. Just to make sure you use exactly the same values when you run this service manually.
Also, a quick google search suggests that piinterp2 contains interpolated data, so the number of returned rows depends on the value change frequency. If you want to do a clean experiment, try to query picomp2 instead, which contains raw data.
/ Constantine