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

Insert vs any?

0 Likes
1,861

I have a program which is taking lots of time in executing, when i traced the code it seems like the insert statement is the cause for the extra time taken, the insert statement is used to insert a work area into a ddic table, is there any alternative for insert statement which will take less time.

And what is the difference between append and insert and which one is more efficient.

9 REPLIES 9
Read only

FredericGirod
Active Contributor
1,755

He asks about transpartent table, not internal table, no ?

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,755

Are you talking about an internal table or a database table?

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,755

Frederic Girod Thanks! I have a doubt now that you ask (I wasn't sure until I saw "append", but maybe the OP thinks "append" can be used with database tables). Let's wait for OP feedback!

Read only

0 Likes
1,755

yes i asked for transparent table(ddic table)

Read only

Sandra_Rossi
Active Contributor
1,755

As your question is about database tables, APPEND is not relevant.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,755

For information, "DDIC table" may refer to both database tables ("DDIC transparent table") and internal tables ("DDIC table type").

Read only

Sandra_Rossi
Active Contributor
1,755

INSERT is the fastest and only way to insert row(s) in a database table.

Read only

0 Likes
1,755

thankyou so much

Read only

1,755

just to be clear, don't INSERT row by row if several data are to be inserted in DB, but from internal table in a single step...
Not sure in your case...