Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SEEK(),INDEXSEEK() or KeyMatch() or SELECT-SQL?
Message
From
10/04/2005 06:11:58
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01002645
Message ID:
01003181
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>I have some ideas which I'm going to implement.
>
>Do you know if there is a way to determine inside the trigger when it's the last record to replace, if, say, we're using replace next 500 command?
>

This is the true limit of VFP;
it don't support table based update index/rules/triggers;
without a event that it is fired after a table write operation,
you cannot aggregate the operation's records into a single and efficient code.

Every operation is record based.
In MS SQL the operation is command based.
An classic example is if you define an CANDIDATE index ,
makes a UPDATE that during the operation it does not respect the index ,
but to the end the table's data respects the index (ex. swap two keys ):
- VFP shoots an error
- SQL does not shoot an error

I think impossible to make it in simple and reliable way.
Previous
Reply
Map
View

Click here to load this message in the networking platform