Post Author: ray3280
CA Forum: Data Connectivity and SQL
I have two complex SQL queries that I've put into two different SQL Commands. One returns about 15,000 Rows and the other returns about 30,000 rows. Now I join the results of both commands on 3 different fields, so I would think my report would run pretty quick, but it does not. It seriously takes about 30min just to return 100 rows. Has anyone else encountered this issue? Could it be because commands do not set any indexes? I am not sure, this really should not take 30min just to return 100 rows.
Each command themselves run really quick, it takes about 10sec to return the results of each command.
Add a comment