Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sometimes SQL Select not being Optimised
Message
From
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:
00532979
Views:
18
It's bad SQL to get rid of aliases. It takes up no overhead and is esier to read.

>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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform