Hello all,
I have access to pi through a linked server and can do straightforward queries, and receive the expected results. My issue is, I want to be able to do something like:
SELECT * FROM OPENQUERY(PI, 'SELECT
engunits, compmin, compmax
FROM
piarchive..picomp2
WHERE
tag = ''Awsome_Tag_Average'' and
time >= date(''2013-12-17 01:41:04.0020'') AND
time <= date(''2013-12-17 09:40:54.0030'') AND
Value <> ''Bad'' AND
Value <> 0
')
I need to query the engunits, compmin, compmax. I cannot use SMT. If anyone knows of any functions, built in PE, or the correct table, please let me know.
Thanks!