Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sometimes SQL Select not being Optimised
Message
 
 
To
20/07/2001 00:42:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00532955
Message ID:
00532980
Views:
12
>It's bad SQL to get rid of aliases. It takes up no overhead and is esier to read.
>

Well, I guess it's just a personal preference. I don't use aliases, if field names are unique or I use one table. One additional reason for this, that we use special application for Query, so the less characters we put in the field (which would be then evaluated), the better.

Anyway, disregard this part of advice, then.

>>It's obviously better to prepare all constants before SQL than caluclating them in SQL for each record. So, the third example is the best here. Also I would get rid of aliases, since you're using only one table in your SQL.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform