You are here: Core Reference > Coding > Scripting > ServerQuery.ErrorMessage

ServerQuery.ErrorMessage

The ServerQuery.ErrorMessage property provides a brief description of the cause of a failed SQL Query for the Server.Query.

Syntax

ServerQuery.ErrorMessage

Description

Describes the cause of a failed SQL Query for the Server.Query property (see Server.Query).

Typically, SQL error messages are due to the syntax of the SQL Query being incorrect.

Arguments

None.

Returns

Message {String}.

For an example that shows how the ServerQuery.ErrorMessage property can be used, please refer to Server.Query.

Further Information

Constructing SQL Queries: see SQL Query Structure in the ClearSCADA Guide to Lists.


ClearSCADA 2015 R2