Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why did they do this
Message
De
26/03/2005 14:33:09
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00999274
Message ID:
00999295
Vues:
14
Sergey,

I know Mark does a lot with Oracle. I assume he's experienced what I did. When I worked with Oracle, it was required of me to use short, if not 1 char, aliases. I haven't worked enough with folks in a big SQL Server shop to see if they do the same.

PF

>>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.

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform