Error 831

"Definition for alias '%1' must appear before its first reference"

Item Description

SQLCode

-831L

Constant

ALIAS_NOT_YET_DEFINED

SQLState

42W61

ODBC 2 State

37000

ODBC 3 State

ERROR

Sybase Error Code

2478

Severity Code

15

Parameter 1

Name of the alias.

Probable cause

An expression contains a reference to an alias, but the alias is defined later in the select list. The alias definition must appear before its first reference.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com