Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

string is too long in Cursor? Why?

$
0
0

Hi All,

 

 

    When I try a FOR in cursor I get this error:

 

line 138 col 3 (at pos 4027): [359] (range 3) string is too long exception

 

     My Code:

 

BEGIN

   DECLARE CURSOR cNVL(nvl int) for select  * from :t_prod ;

 

   FOR rNVL as cNVL DO

      ....

   END FOR;

END;

 

Line 138 is the red.

 

If I remove some columns in select I don't get the error.

 

But I need the columns that cause the error, what I can do?

 

Thank You


Viewing all articles
Browse latest Browse all 6412

Trending Articles