Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index does not match in OleDb
Message
 
 
To
22/09/2006 10:13:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153721
Message ID:
01156434
Views:
15
>Here is a simplified version of the situation. I just got this one this morning. It only involves one table in the query. Here is the SQL and the tag indexing sequence following it:
>
>
>SELECT VideoPreview.Numero,VideoPreview.NoVideo,VideoPreview.Url FROM VideoPreview;
> WHERE VideoPreview.NoVideo=21 AND VideoPreview.Free
>
>
>
>USE VideoPreview EXCL
>DELETE TAG ALL
>INDEX ON DELETED() TAG DELETE
>INDEX ON NUMERO TAG NUMERO
>INDEX ON ADDUSER TAG ADDUSER
>INDEX ON ADDDATE TAG ADDDATE
>INDEX ON MODUSER TAG MODUSER
>INDEX ON MODDATE TAG MODDATE
>INDEX ON NOVIDEO TAG NOVIDEO
>INDEX ON Free TAG Free
>USE
>
>
>The only thing I see that could conflict and which is generic to all the tables is the DELETED(). I do have the tags on Numero, AddUser, AddDate, ModUser and ModDate on all tables however.

Looks like FREE is a keyword, so it may explain this problem. DELETE is also a keyword.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform