"You cannot SELECT from a join virtual table. (%2) %1" 
         
               
               
               
                  
                     | Item | 
                     Description | 
                  
               
               
                  
                     | 
                         SQLCode 
                      | 
                     
                         -1005029L 
                      | 
                  
                  
                     | 
                         Constant 
                      | 
                     
                         EMSG_CANNOT_SELECT_FROM_JVT 
                      | 
                  
                  
                     | 
                         SQLState 
                      | 
                     
                         QTA29 
                      | 
                  
                  
                     | 
                         ODBC 2 State 
                      | 
                     
                         ERROR 
                      | 
                  
                  
                     | 
                         ODBC 3 State 
                      | 
                     
                         ERROR 
                      | 
                  
                  
                     | 
                         Sybase Error Code 
                      | 
                     
                         21143 
                      | 
                  
                  
                     | 
                         Severity Code 
                      | 
                     
                         
                           14
                         
                      | 
                  
               
            
 
         Probable cause
            
            location of the exception the details of syntax error