Conversion Functions (SQL)

Introduction

Conversion functions convert from one type to another.

Syntax

primary-conversion-function ::=
  QUALITY_TO_STRING ( value-expression )

Remarks

These Mathematical functions are supported:

FunctionCalculation
QUALITY_TO_STRING( Q, TextOnly ) Returns a string describing the value Q as a quality. If TextOnly is false, the function returns both the quality value and the quality text. If TextOnly is true, the function returns only the quality text.

Further Information

Value Expressions (SQL)

To learn more about SQL scalar value expressions.

Fernhill SCADA Structured Query Language (SQL)

To learn more about the SQL features in Fernhill SCADA.

Glossary

For the meaning of terms used in Fernhill SCADA.