Informix Error Messages and Error Codes From Error 710

SQLServerF1

Informix Error Code -710 Table table-name has been dropped, altered, or renamed.
Use one of two methods to recover from this error:
Issue the UPDATE STATISTICS statement to force reoptimization of the procedure.
Rerun the procedure.
To prevent this error, you can force reoptimization of the stored procedure. To force reoptimization, execute the following statement:

UPDATE STATISTICS FOR PROCEDURE procedure name
You can add this statement to your program in either of the following ways:
Place the UPDATE STATISTICS statement after each statement that changes the mode of an object.
Place the UPDATE STATISTICS statement before each execution of the stored procedure.
For efficiency, you can put the UPDATE STATISTICS statement with the action that occurs less frequently in the program (change of object mode or execution of the procedure). In most cases, the action that occurs less frequently in the program is the change of object mode.
When you follow this method of recovering from this error, you must execute the UPDATE STATISTICS statement for each procedure that references the changed tables indirectly unless the procedure also references the tables explicitly.

You can also recover from this error by simply rerunning the stored procedure. The first time that the stored procedure fails, the database server marks the procedure as in need of reoptimization. The next time that you run the procedure, the database server reoptimizes the procedure before running it. However, running the stored procedure twice might be neither practical nor safe. A safer choice is to use the UPDATE STATISTICS statement to force reoptimization of the procedure.

Above are list of Informix Error Messages and Errors Codes or Status Codes or Exit Codes along with Error and Warning messages received while performing certain operation against Informix applications or related products.

What are Informix Error Messages?
All Informix messages returned by the Informix server are assigned an error code.

In general, each Informix error contains the following information:
• The Informix Error Code or Informix Error status
• The message text. This text is usually returned with the Error code. Some messages employ word substitution, where the word substituted represents the system-replacement of a term more specific to the occurrence.
• An explanation of how the error may have occurred.

Hope this was helpful.

Thanks,
SQLServerF1 Team
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.

 

Leave a Reply

Your email address will not be published. Required fields are marked *