cancel
Showing results for 
Search instead for 
Did you mean: 

How do I rename column names in HANA tables in bulk

venu_katamneni
Participant
0 Kudos

Hi,

I am trying to convert the columns of the tables that were created based on the virtual tables created from a 3rd party connected via SDA. In some of the instances, like data from Microsoft SQL server, the columns (name of the column) come in as smaller case. HANA assuming that everything is defined as upper case fails during the queries.

I am thinking of renaming the columns to upper case in bulk with a procedure. Is that possible? Any ideas? Thanks very much.

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

What kind of queries are you doing? HANA does not assume "by default" that column names are in upper case, it assumes that only if you do not set the column names in double quotes.

For instance if you have a column MyColumn and you use it in a query w/o double quotes, a column MYCOLUMN is searched. If you set it in double quotes, "MyColumn", than the upper/lower case is considered.

So where is the issue?

Regards,

Florian