Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to write a select query to get 200000 rows from database

Former Member
0 Likes
926

how to write a select query to get 200000 rows from database

5 REPLIES 5
Read only

Former Member
0 Likes
791

select * from <table > into table <internal table >

up to 200000 rows.

Read only

0 Likes
791

thnx srinivas

Read only

Former Member
0 Likes
791

HI,

IF u fetch huge amount of data it will reduce ur program performance go for pacakage size format of select query

syntax

*SELECT * FROM spfli INTO TABLE it_spfli PACKAGE SIZE 10000.*

go throu this link

[http://sap-img.com/abap/package-size.htm]

Regards,

priya

Read only

0 Likes
791

hi priya

thnx for ur reply

u mean to say it may go to dump when we are fetching huge data?

Read only

Former Member
0 Likes
791

HI,

To select 20,000 rows from the table use the following select query

SELECT <f1> <f2> from <table name> into table <internal tab> upto 20000 rows.

Regards,

vineela.