KB-49201: Using Log10 function and Case/Else commands in an SQL query.
Question: How can I have a Query’s Log10 function be executed only in rows different from 0 (zero), leaving rows equal to zero with value 0 (zero)? Solution: To apply…
Question: How can I have a Query’s Log10 function be executed only in rows different from 0 (zero), leaving rows equal to zero with value 0 (zero)? Solution: To apply…
In this article, we will show you how to retrieve the averages from the table fields in an SQL Server database of three different time units: minutes, hours, and days.…
Question: Where are E3 application’s queries executed: in the Viewer or in the Server? Solution: This will depend on EnableLocalCreation property’s value. If EnableLocalCreation property is set as TRUE, the…
Question: How can I display the InTime and OutTime information from an alarm occurrence a single register in E3 Browser? Solution: To do so, we suggest that you use the…
Question: How can I set a filter by date on an E3Storage’s Query? Solution: To do so, you must use the CompressedDataStartEndTime query and set the dates in the respective…
Question: In a Query, how can I filter alarms with areas starting with a given text? Solution: In order to filter alarms with areas starting with a given text (for…
Question: In an application, an SQL Query returns three values to a certain field. How can I set this Query up to return only one of them? Solution: To do…
Question: In the application, I have the following folder structure for alarms: alarms\general\se01\switch01 \switch02 \… \switch20 How can I set up the return all alarms from all switches of a…
Question: How can I convert an EventTimeDbl field into Date/Time format and display it in an E3Browser? Solution: To do so, use the SQL CONVERT command below in the SQL…
Question: How can I display the fields of different tables in the same SQL query? Solution: To do so, use SQL’s UNION command. Thus, you must enable the E3Query’s SQL…