"Cannot handle expressions involving remote tables inside stored procedures"
         
               
               
               
                  
                     | Item | 
                     Description | 
                  
               
               
                  
                     | 
                         SQLCode 
                      | 
                     
                         -823L 
                      | 
                  
                  
                     | 
                         Constant 
                      | 
                     
                         OMNI_EXPRESSION_IN_PROC 
                      | 
                  
                  
                     | 
                         SQLState 
                      | 
                     
                         WO023 
                      | 
                  
                  
                     | 
                         ODBC 2 State 
                      | 
                     
                         ERROR 
                      | 
                  
                  
                     | 
                         ODBC 3 State 
                      | 
                     
                         ERROR 
                      | 
                  
                  
                     | 
                         Sybase Error Code 
                      | 
                     
                         2470 
                      | 
                  
                  
                     | 
                         Severity Code 
                      | 
                     
                         
                           12
                         
                      | 
                  
               
            
 
         Probable cause
            
            The server encountered an expression involving remote tables inside a stored procedure. The expression was too complicated to process.