Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Sat, 02 Apr 2005 @ 20:05:40 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: SP Error 42000
 
From:   Mishra, Tapas

  While executing the SP I am getting the return code for SQLSTATE as 42000. Does any one know what this return code mean ? Where can I get the information for these messges?  


Prasanna,

There could be many reasons for this. Like

1. user may not have proper access to a any database object.

2. trying to access any database object which doesn't exist.

3. trying to call a stored procedure with inadequate parameters etc..


To find the all possible reasons, refer the Teradata manual vol6, APPENDIX-D where you will find the SQLSTATE TO Teradata error code mapping table.

Then refer the dbc.errormsgs table to get the list of error messages related to this SQLSTATE.

Hope this helps..


Thanks,

Tapas



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020