"Illegal reference to correlation name '%1'"
         
               
               
               
                  
                     | Item | 
                     Description | 
                  
               
               
                  
                     | 
                         SQLCode 
                      | 
                     
                         -824L 
                      | 
                  
                  
                     | 
                         Constant 
                      | 
                     
                         INVALID_CORRELATION_NAME_REFERENCE 
                      | 
                  
                  
                     | 
                         SQLState 
                      | 
                     
                         42U01 
                      | 
                  
                  
                     | 
                         ODBC 2 State 
                      | 
                     
                         S0002 
                      | 
                  
                  
                     | 
                         ODBC 3 State 
                      | 
                     
                         42S02 
                      | 
                  
                  
                     | 
                         Sybase Error Code 
                      | 
                     
                         2471 
                      | 
                  
                  
                     | 
                         Severity Code 
                      | 
                     
                         
                           15
                         
                      | 
                  
                  
                     | 
                         Parameter 1 
                      | 
                     
                         The correlation name that is incorrectly referenced. 
                      | 
                  
               
            
 
         Probable cause
            
            Your query contains a reference in a table expression to a correlation name that is not contained in that table expression.