Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which statement is 'Better'
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01048319
Message ID:
01048865
Views:
27
>
>You might also consider moving your loc.state='OR' up into the JOIN.
>
>In SQL server you should avoid SELECT * in a query when none of the fields are actually used or you don't need all of them, you force a read of the data page even if can determine the result only from reading index pages. I/O is slow. Use SELECT 'X' instead.

It doesn't apply to EXISTS subqueries because SQL Server doesn't retrieve any data for them.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform