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

Re: Not enough values error

$
0
0

Hi Connor,

 

I am not sure if this is a formatting error in the post here or it is exactly what has been typed in your insert statement.

 

But if you look into the values below, you will find that the single quote after first N/A and at the beginning of second N/A is not a single quote which HANA would recognize. It will treat is as a char value.

 

'N/A’, ‘N/A', 'N/A’, ‘N/A'

 

hence your value for a single column will be N/A’, ‘N/A.

 

Likewise for the second pair of N/A, N/A values. Can you please change the single quote from to ' and also for to ' and try it.

 

Best way to copy the code to a simple text editor like Notepad which removes all the fancy characters and then use it.

 

Also as a good practice, it is advisable to use syntax like insert into table (col1, col2 .... ) values (va1, val2 ...). That helps in identifying for which column the values are incorrect.

 

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>