Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using SELECT TABLE.* (any problems with that?)
Message
 
 
À
30/01/2008 12:30:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01287154
Message ID:
01287171
Vues:
8
>There can be something wrong with SELECT * in some situations Naomi. If a new field is added to the table, it could slow down unecessary the query as more data is transfered and this extra data may not be needed in some places. On the worst scenario, it could crash the application if the new field is not added at the end (like if you binded a grid on the result of the SELECT *).
>
>If you do your query against a store procedure, then it may be OK to do a SELECT * from VFP. But the store procedure should not use SELECT *.
>

Good point. I think I also prefer to specify all fields in my select statements.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform