Quantcast
Channel: Advantage Database Forum - latest questions
Viewing all articles
Browse latest Browse all 105

NativeError = 2146; Unable to do ORDER BY

$
0
0

ADS Version 11.10.0.24

The query is simple: Select Top 50 * From Prim_Ins Where U_ID = <8-Characters> Order By U_ID,Rank

The results are usually no more than 10 records. We added the "Top 50" because we suspected an index issue and wanted to make sure the "world" wasn't returned in the result. The table has been reindexed, but the errors continue.

Table specs: Prim_Ins.dbf (FoxPro free table) Size: 3,312,550 KB Records: 3,728,304 No Memo Fields Single Compound Index (CDX) with a Tag On U_ID+STR(RANK,2) CDX Size: 27,810 KB

OS: Windows Server 2008 64bit, 4 GB RAM, 100 GB HD with 49 GB Free.

Data is located on Drive C of the server in a shared folder: C:\IVData

There are currently 398 files (95 dbf, 42 cdx, 13 fpt, and the rest tmp) in this folder.

I have seen others post similar errors, but no one seems to have a solution. And requests to support fall on deaf ears.

Data Arch


Viewing all articles
Browse latest Browse all 105

Trending Articles