Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Update Command ( VFP9 )
Message
De
10/04/2005 14:02:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01003192
Message ID:
01003226
Vues:
18
>a lttle change...
>
>
>SET SECONDS ON
> SET MULTILOCKS OFF
> CURSORSETPROP("Buffering" ,1,"Resident")
> timestart1=SECONDS()
>
> UPDATE Resident ;
> SET NoitelephoneIdReportActif ;
> = NVL((SELECT F.ireport FROM cFiltre F WHERE F.itelephoneid=Resident.itelephoneid AND F.ireport = NoReport),0)
>
> SELECT Resident
> * =TABLEUPDATE(.T.)
> SET MULTILOCKS ON
> CURSORSETPROP("Buffering" ,5,"Resident")
> Buffe1 = SECONDS()-timestart1
>
>
> timestart5=SECONDS()
> UPDATE Resident ;
> SET NoitelephoneIdReportActif ;
> = NVL((SELECT F.ireport FROM cFiltre F WHERE F.itelephoneid=Resident.itelephoneid AND F.ireport = NoReport),0)
>
> Buffe5 = SECONDS()-timestart5
>
> *-- Buffe1 0.110
> *-- Buffe5 0.047
>

And if you swap the operaions, and do buffer 5 before ?
( for exclude a cache effect )

thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform