Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List elements of a field in an array
Message
From
21/04/2004 06:30:23
 
 
To
20/04/2004 19:07:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00896552
Message ID:
00896783
Views:
13
Ipot: SDE EPY CMA are fixed lenght 3 chars, otherwise you must use the "," separator
SELECT employees.* FROM employees  ;
LEFT JOIN schtbld ON schtbld.schwk = CTOD("04/18/04") and AT(employees.SchedId,schtbld.schres)>0 ;
WHERE schtbld.schres IS NULL
You must have a Index for schtbld.schwk, otherwise split it into two step select, or
use a Locate or LOOKUP
SELECT schtbld
locate for schwk = CTOD("04/18/04")
SELECT * FROM employees  WHERE AT(employees.SchedId,schtbld.schres)=0

or
PRIVATE schwk
schwk = LOOKUP(schtbld.schres,CTOD("04/18/04"),schtbld.schwk)

SELECT * FROM employees  WHERE AT(employees.SchedId,m.schres)=0
Previous
Reply
Map
View

Click here to load this message in the networking platform