Local Cursor Operations with SQL and INDEX

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
MVWKFS
Posts: 3
Joined: Thu Aug 18, 2022 8:38 am
Location: Austria

Local Cursor Operations with SQL and INDEX

Post by MVWKFS »

Hello,

I tried xSharp for the first time and wonder how (for our application essential) local cursor operations are working or if there are plans to support those.
In VFP these operations were very fast when using indexes e.g. on cursor-fields with rushmore optimization. Please find attached "examples.txt".

Br Mario
Attachments
examples.txt
(2.03 KiB) Downloaded 96 times
User avatar
robert
Posts: 4558
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Local Cursor Operations with SQL and INDEX

Post by robert »

Mario,
We have started adding several embedded SQL commands for VFP.
What should work:
- CREATE CURSOR
- CREATE TABLE
- INSERT INTO, except INSERT TO ... SELECT ...
- REPLACE

What does not work
- DELETE FROM
- UPDATE
- SELECT


Especially the SELECT statement is quite complicated. Not the SELECT on a single Cursor/Table but joined selects are complicated.
We plan to add these in the future. But there are also many other things that we want to add.
Also, the IndexSeek() function is not implemented yet.

So far there has not been very much feedback in this area, so that is why this got a lower priority.
W.r.t. rushmore optimizations: we do not have this yet.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
MVWKFS
Posts: 3
Joined: Thu Aug 18, 2022 8:38 am
Location: Austria

Re: Local Cursor Operations with SQL and INDEX

Post by MVWKFS »

Hi Robert,
thanks for your quick feedback. I wonder if it would be meaningful to create issues for those examples at the github-site?
https://github.com/X-Sharp/XSharpPublic
It would be important to have a better coverage of these SQL/Cursor Operations to move on with xSharp.
Looking forward to the Summit in October,
Br Mario
User avatar
robert
Posts: 4558
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Local Cursor Operations with SQL and INDEX

Post by robert »

Mario,
It is always good to create issues for things that you are missing.
It helps to remind us of these things, and you will be notified of our work on the issues.
Please try to put 1 item per issue, so it is easier to close issues and follow the progress.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply