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 retrieve the number of records that have been returned by a query? Solution: To do so, you must use the RecordSet‘s RecordCount property. The example below shows…
Question: How can I insert, edit and delete records of a database via E3? Solution: Via E3Studio, access the Query’s properties and then, on SQL tab, enable SQL’s edition option,…
Question: How can I use a Query to retrieve data from two tables alternately if they have the same columns structure? Solution: To do so, you must edit the Query’s…
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: Why is a Query’s filter using the LIKE clause not working when typing just a part of the word to be filtered? For example, when typing “tag”, only 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: How can I add the values of a Query field and show the result in a Display? Solution: To do so, you must use SUM() function in the SQL…