Quantcast
Viewing all articles
Browse latest Browse all 831

HANA Development: Asterisk (*) vs. detailed field specification in select statements

Dear all,

 

I have learned that using the asterisk / star * select Statements is a Performance Problem when using a HANA database.

 

 

For example,

------------------------------------------------------

data lt_t100 type table of t100.

select * from t100 into lt_t100 where sprsl = 'EN'.

------------------------------------------------------

 

is a critical coding.

 

 

What I am asking myself is whether the following construction is an improvement:

------------------------------------------------------

data lt_t100 type table of t100.

select SPRSL ARGBG MSGNR TEXT from t100 into lt_t100 where sprsl = 'EN'.

------------------------------------------------------

Actually, this does select the same fiields, but not using the * Syntax.

 

 

My question is:

 

Will that improve selection performance ?

 

 

 

Or will it only prevent the code inspector from grouching ?

 

Any help or comment is welcome !

 

 

 

 

 

 

Regards,

Martin


Viewing all articles
Browse latest Browse all 831


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