Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Need Solution/reason for "7609: Fetch statement is incompatible with current CURSOR definition" - response (1) by dnoeth

$
0
0

From the Messages manual:
 
 

7609 Fetch statement is incompatible with current CURSOR definition.
Explanation: At runtime, the FETCH statement considers the compile-time definition of the tables used in the cursor
SELECT statement. The table definitions may change at runtime and may not be compatible in terms of data types or sizes
with the definition assumed by the FETCH statement.
Generated By: RTS modules.
For Whom: End User.
Remedy: Recreate the Stored Procedure with current table definition and resubmit the request.

 

The datatypes of par1 and pa2 are probably not matching the column definition.
Btw, i would prefer FOR or WHILE over LOOP for cursor processing.
Dieter

 

 
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>