Application Development 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: 

Different ways to improve Insert Query

ArtiBhat
Associate
Associate
0 Kudos

Hi All,

I want to improve the performance of SQL query

"INSERT (REF_TABLE_NAME) FROM TABLE INSERT_TAB." as it is taking v.long time to execute.

Would request you to suggest some best ways to do it ASAP.

Best Regards,

Arti.

4 REPLIES 4

Former Member
0 Kudos

Hi Arti,

I am really unable to make out, Can you please mail the code to me

Former Member
0 Kudos

Hi,

Enque and deque the table and inb/n do this.

use roll back work and commit work

and if the datat is very high then its better to do by fixed number.

Regards,

sasi

0 Kudos

Hi,

Thanks for your help.

Can you please explain in detail how it is going to improve the performance.

Regards,

Arti.

0 Kudos

I think there's not much you can do to improve performance. The only possibility (and it's a slim one) that I can think of, would be to insert into a specific table rather than one defined at run time.

Rob