Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pulling Data from a Huge Cursor
Message
De
03/03/2014 06:54:53
 
 
À
03/03/2014 06:46:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01595090
Message ID:
01595655
Vues:
41
>Sir, What is the reason of using varchar ?

Copied from the original sample code posted.

Don't use it myself,
the only virtue I know of is that it trims values automatically - simplifies chain concatenation
same storage length though

In this particular case, C(254) should be good enough.

I would even try a M as you don't need any index on this column, and your source data is CSV.

As the file is huge, saving space on disk might also save execution time - to be tested though
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform