Openquery from MS Sql Server
Hi all,
I encounter a situation where when I send a select statement to a Oracle DB using openquery from a sql server, the first run would always timed out in around 30 mins. But when I sent the same query again within 10-15mins. The result set came back in 22 mins.
Is it because Oracle had stored the execution plan after the first query and as a result, the second query returned in a much faster time?
Thanks all