M Using SQL Server 2000 And VB6 Application.
When The Procedure Is Executed From Query Analyser It Executes in around 30 Minutes. But When Exeuted From The Application Does Not Come Out Even After 12 Hrs.
I Have Found That The Procedure During Execution Comes at Some Query Which Uses Hash Tables And Stops at That Query.
However The Query Executes Quickly When The Same Procedure Is Executed From The Query Analyser.
Can Anyone Suggest.
Thanks.
When The Procedure Is Executed From Query Analyser It Executes in around 30 Minutes. But When Exeuted From The Application Does Not Come Out Even After 12 Hrs.
I Have Found That The Procedure During Execution Comes at Some Query Which Uses Hash Tables And Stops at That Query.
However The Query Executes Quickly When The Same Procedure Is Executed From The Query Analyser.
Can Anyone Suggest.
Thanks.
Comment