Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to do a WHILE DO loop on data from a SQL Calculation View

$
0
0

Hi Shree

 

Thanks.  I tried as you suggested and still got zero rows when I called the procedure. I also tried Select * From Table_2 and only showed the Header Row.

 

I tried the procedure two ways (see attached text files), one where I do not set VAR_2 equal to anything and another where I set it equal to 1. The first way (Method 1), I get zero rows. The second way (Method 2), I get the following error:

 

Could not execute 'CALL BUILD_TABLE_2 ( )' in 161 ms 191 us, SAP DBTech JBDC: [340]: not all variable bound: [340] SYSTEM.BUILD_TABLE_2: line 16 col 3 (at pos 194): not all variables bound exception: not all variables bound: [340] not all variables bound: unbound parameter : 0 of 1Please check lines:


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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