Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: Native SQL ( EXEC SQL .. ENDEXEC) statements in BW while migrating from Oracle to HANA

$
0
0

In addition to Frédéric's comment, consider that DBA_TABLES is an oracle specific system view.

So it's not primarily concerned with your BW application but with the oracle internal management of tables.

Finding this in your BW application code should be a 'code smell' that some function might not be correctly separated.

In addition to this, it's the oracle view that shows ALL tables in the system, not just the ones the account that was used to connect has access to.

 

Looking at the query itself, three columns f1, f2, f3 are requested. These don't exist in the standard definition of DBA_TABLES. I highly recommend to find out what the purpose of this code bit is - chances are that it won't even be applicable to SAP HANA.

 

For the other code: most standard SQL commands shall work without need for adaption. However, if you integrate data from a different schema "CONGIF_BW" as in your second example, then be very clear on how that fits into the architecture and where the data in this schema is coming from. Maybe you need to have the same schema in the SAP HANA system then as well.


Viewing all articles
Browse latest Browse all 2756

Trending Articles