Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very Slow Query
Message
From
03/03/2003 10:50:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Very Slow Query
Miscellaneous
Thread ID:
00760376
Message ID:
00760376
Views:
61
I have an ODBC connection to an Oracle 8 database. All of the queries I have run so far seem to run pretty quickly. I have one now that takes about 10-12 minutes to execute. It takes about 2 second in SQL+. The table is about 67000 records.

= sqlexec(liconnect,"select * from wps_mgr.ws_scale_ticket where ; ws_scale_ticket.permit_no like 'BC%-2' and ;
ws_scale_ticket.ticket_date >= 20020401 and ;
ws_scale_ticket.ticket_date <= 20030331","tictemp")

Any suggestions would be appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform