Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow OLEDB
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01152105
Message ID:
01152208
Views:
17
Try
SELECT * FROM POLICY WHERE POL_NUMBER == '1111111'
>I have a VFP database that is being accessed via a .NET 1.1 app with the VFP OLEDB provider.
>
>The table has two fields that used to to query.
>
>POL_ID - Integer (AutoInc)- Primary Key Index
>POL_NUMBER - Char (30) - Regular index
>
>
>When the Select command's where clause uses the POL_ID it is very fast, when the pol_number is used it is slow. What can I do to make it faster. In VFP it is very fast either way.
>
>
>SELECT * FROM POLICY WHERE POL_NUMBER = '1111111'
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform