Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select with additional conditions
Message
From
15/11/2007 08:54:38
 
 
To
14/11/2007 20:34:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01268865
Message ID:
01269120
Views:
11
>>Is that correct? I thought that SQL aliases have nothing to do with A-J aliases for work areas.
>>
>>>It's a bad idea to use one leter meaningless table aliases in a query. It makes the query totally unreadable. It also could be dangerous because letters A-J are reserved for workareas 1-10.
>
>From my testing, you are correct: Message#1154483

It's no longer a problem, but at one time, you could get unexpected results with something along these lines:
SELECT 1
USE MyTable && now in workarea A

SELECT ... ;
  FROM AnotherTable A ;
  ...
VFP would get confused over what A meant.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform