Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What happens with SELECT
Message
 
À
20/07/2006 12:00:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01138114
Message ID:
01138205
Vues:
10
My Two cents - if you use seek - a little more code, granted - you wll not hog resourse or pump the temp files folder.

Your app will behave better - look crisper - and in these lean times - it's all about efficiency.

As often as you can (I know select is convienent), use functions that do not cache data your app has a hard cache point to.

>I am trying to gain a better understanding of what happens with SELECT INTO CURSOR. If I issue a command such as
>select * from somefile into cursor crsTemp
>
>
>It appears that the original file (somefile) is opened by the OS although it is not technically USED. Is this correct? If yes, then what do we have to do to close the file so that it is available to other programs or so that it can be overwritten? I have tried to
>
>use in crsTemp
>copy to somefile
>
>but I still get an error that says the file is open. Can someone shed some light on this?
>
>Thanks
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform