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

Re: What's wrong with my procedure

$
0
0

Hi Kai,

 

Your CREATE TABLE sql is generating incorrect statements with single quotes around table name. These are generated as follows:

 

create table '0'(id int)

create table '1'(id int)

create table '2'(id int)

create table '3'(id int)

create table '4'(id int)

 

Please change the following line as mentioned with double quote instead of single quote:

 

                    v_sql := 'create table "'|| :tbname || '" (id int)';

And it should work fine.

 

Regards,

 

Ravi


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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