Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select statement
Message
De
09/03/2004 23:39:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Select statement
Divers
Thread ID:
00884712
Message ID:
00884712
Vues:
50
Hi to all,

how can change this select statement to become faster.
please help

thanks.

select a.vendno,a.company,a.drno,a.rcno,a.purno,a.loctid,;
a.adddate,a.addtime,a.adduser,a.org_rcno,b.item,b.qtyrec,b.umfact,;
b.umeasur,b.cost,b.lineno,b.taxrate,b.qtyord,b.qtyrec2,;
b.disc,b.qtyopen;
from po_main a, po_detail b ;
where alltrim(a.purno) == Lcvalue and alltrim(a.rcno) == Lcvalue2 and ;
a.purno == b.purno and a.rcno == b.rcno AND b.qtyrec2 != 0 into cursor cur_temp

select cur_temp
go top
scan
insert into ictran01 (..,) values (cur_temp.,,,)
select cur_temp
endscan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform