Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary key can't be optimized?
Message
From
18/02/2001 08:31:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Primary key can't be optimized?
Miscellaneous
Thread ID:
00477099
Message ID:
00477099
Views:
59
Hi,
I am having Customer ID as primary key for my customer table. I found that, it is slow for searching a customer record using either LOCATE FOR or SQL-SELECT. Therefore, I set Customer ID as regular key in table as well. It really optimized the query. The speed of search is just like "light of speed".

Why could it happen?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform