Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Let select more faster
Message
 
 
À
06/06/2006 09:29:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01127280
Message ID:
01127342
Vues:
11
>hi,
>thank you for reply,
>NUM field is numeric type(5,0),
>how i can get SP1 for VFP9 ,
>
> ok ,i try as under, still the same.
>
>insert INTO mstr ;
> Select * From main2 Where ;
>  DtoS(file_date) + DtoS(intervdate)+Str(num, 5) Not In ;
>   (Select  DtoS(file_date) + DtoS(intervdate)+Str(num, 5) ;
>    From mstr)
>
>
>thanks.
>

The link to download Service Pack 1 for Visual FoxPro 9 is:

http://www.microsoft.com/downloads/details.aspx?FamilyId=1C06E35D-10A2-4A05-84FC-495B3A73ECF7&displaylang=en

And you have indexes in both tables on the exact expression?

Instead of using one insert command do it into 2 steps (here I think it may help). First select records into cursor
Select * From main2 Where ;
  DtoS(file_date) + DtoS(intervdate)+Str(num, 5) Not In ;
   (Select  DtoS(file_date) + DtoS(intervdate)+Str(num, 5) ;
    From mstr) into cursor curInsert nofilter

insert into Mstr select * from curInsert
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform