I have strange question for which i did not found the solution. I have the below query which takesmore than 5 minutes to execute. The query performance is very slow even i have few records which will get inserted. If i remove the insert statement and runs only select query statement then the query execute within 2 to 5 seconds. What is the problem behind this ? How can i improve insert query performance in this case ?I have strange question for which i did not fou