![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Now, the table is (supposed) to be set to have the model, serial, and timestamp set as the primary key. This would lead me to expect that if I try this query: SELECT TOP 1 * FROM ModelSer ORDER BY Timestamp |
#4
| |||
| |||
|
|
jason.p... (AT) gmail (DOT) com> wrote: Now, the table is (supposed) to be set to have the model, serial, and timestamp set as the primary key. This would lead me to expect that if I try this query: SELECT TOP 1 * FROM ModelSer ORDER BY Timestamp If the PK is in the order you provided, then ordering by timestamp wouldn't be helped by the PK, which is ordered by other stuff first. What ODBC driver are you using (vendor and version)? How much faster is the query if you strip off the PX? How many rows are in ModelSer? What are you using to restructure the table to add the PK back? -- Larry DiGiovanni |
#5
| ||||
| ||||
|
|
This is where I discovered something...in my test environment, I was actually using Paradox 5.0. Unknown to me, they had upgraded to Paradox 7.0. |
|
Apparently, the Microsoft Paradox Driver doesn't support 7.0. |
|
I have since explored the Merant(?) ODBC driver and have made some progress there. Does this seem to be the correct route to take? |
|
To restructure the table, I am using Borland Database Desktop 7. |
![]() |
| Thread Tools | |
| Display Modes | |
| |