Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using DELETED() in a query
Message
De
09/06/2006 07:15:30
Richard Candeland
Richard Candeland Software Services
Keighley, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Using DELETED() in a query
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01128074
Message ID:
01128074
Vues:
78
I know you should not use DELETED() in queries containing a join, but can you safely use DELETED() in a query involving only a union? e.g.
SELECT descrip, ratemult, rate_no, .T. AS isdwp ;
  FROM xdwpr INTO CURSOR dwprates WHERE NOT DELETED() ;
  UNION ALL ;
  SELECT * FROM nodwp ;
  ORDER BY 4, 1
..or is this not recommended - it seems to produce the results I expect.
Richard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform