Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List elements of a field in an array
Message
De
21/04/2004 06:30:23
 
 
À
20/04/2004 19:07:34
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00896552
Message ID:
00896783
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform