E3SampledData

<< Click to Display Table of Contents >>

 

E3SampledData

This is equivalent to the SampledData function. Its formal description is the following:

E3SampledData(
  @strTable   VARCHAR(100),
  @iModMin    int,
  @dStartDate float,
  @dEndDate   float,
  @strWhere   VARCHAR(4000),
  @type       int,
  @bQuality   int)

 

Where:

@strTable: Name of a table to query

@iModMin: Interval in seconds to interpolate each value within this interval

@dStartDate: An initial date, in Float format

@dEndDate: An ending date, in Float format

@strWhere: Filter options for the value

@type: Data type. Possible values are 0: String, 1: Bit or Integer, or 2: Analog

@bQuality: If different from 0 (zero), only includes Tags with Good quality

 

This Stored Procedure returns its results with E3TimeStamp and FieldValue columns.

Was this page useful?