Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Duplicate Attribute Name in HANA procedure

$
0
0

Hi,

 

I'm a beginner and just wanted to ask a basic question.

I have two tables

  1. Employee (emp_id, emp_name, emp_grp, salary, level, skill)
  2. Bonus (skill, level, bonus)

 

in my procedure I'm joining these two table and storing in variable.

I'm getting Duplicate attribute name error.

 

I assume this is because I had skill and level as common name in both tables.

 

After changing the column names in Bonus table to B_SKILL and B_LEVEL, issue was resolved.

 

But I believe there has to be a better way to fix this because changing the column name will not be feasible every time.


Viewing all articles
Browse latest Browse all 3323

Trending Articles



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