what is the difference between FOR ALL ENTRIES and SELECT *
FROM ?
Answers were Sorted based on User's Feedback
For all entries is used to join the one or more tables based on condition.Select * from is used to fetch the data from db
table,but don't use select * from due to performance standards. The code like this
select vbeln
erdat
ernam
vkorg from vbak into table it_vbak
where vbeln eq v_vbeln.
select vbeln
posnr
matnr
matkl from vbap into table it_vbap
for all entrie in it_vbak
where vbeln eq it_vbak-vbeln.
The sequence of fields used in select query must be same as
the sequence of fields in internal table.
thanks,i hpoe this is corrct...........
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / surya
For all entries means: select query will be fetch the
records based on the records which are in the internal
table fields using for all entries.it gives the better
performance,while fetching records from the database.
select * from : it will fetch the records of all the fields
in the database table.it consumes the time .performace
problem.
Is This Answer Correct ? | 4 Yes | 0 No |
What are conditional chain statement?
how to print amount in words in alv ?? will the function module spell_amount work ??
what is the AT-SELECTION EVENT?
what is function group? Difference between function group and FM?
How to create Reports with Radio Buttons, which gives sales information, Delivery information and Billing information. plz mention the detail coding Tahnks, Rahul
What do you mean by pooled tables in sap abap? Also explain what do you mean by table pool? : abap data dictionary
If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?
What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
What are the different functions used in sap script?
What is a data dictionary? : abap data dictionary
What are interface/conversion programs in SAP?