Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing Deleted() in sql
Message
From
30/10/1998 15:58:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Referencing Deleted() in sql
Miscellaneous
Thread ID:
00153034
Message ID:
00153034
Views:
55
If I have tag DELTAG() with expression DELETED() and try to reference it in SQL, my optimization gets affected. How do I use it correctly?

SELECT anyfield;
FROM T1, T2;
WHERE T1.field = T2.field;

Shows full optimization for both tables with SYS(3054)
If I try to use:

SELECT anyfield;
FROM T1, T2;
WHERE T1.field = T2.field;
AND NOT DELETED();

my optimization gets cut back to partial for T1 but remains full for T2. I have the DELTAG in both tables using the same expression.
Next
Reply
Map
View

Click here to load this message in the networking platform