Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why did they do this
Message
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00999274
Message ID:
00999308
Views:
18
>>All she did was "alias" the real table name with a shorter name. That expression is not the selection from 2 different tables. I would have aliased them to even shorter aliases.
>>FROM wms_ITRN_all A
>>   INNER JOIN Inventory B
>>      ON A.Sku = B.primary_reference
>>   LEFT OUTER JOIN wms_AdjustmentDetail_All C
>>      ON A.ItrnKey = C.ItrnKey
>>
>
>Mark,
>
>Aliasing tableas to one letter names is the same bad idea as usindg one letter variables. It makes code unreadable and hard to maintain.

True. I have only used 1-letter names to alias tables in SQL for remote DBs. I never do that for native VFP tables since they would remain open. About the only 3-letter names I use for variables were like lnI or lnJ for counting in a FOR/ENDFOR.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform