Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness of index PRIMARY is violated
Message
De
11/10/1998 04:50:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00144393
Message ID:
00145728
Vues:
37
>>If they were prefixed, I'd have to do lots of "Select ... mbr_cust as dzw_cust" or write lengthy Insert ...values ... (mbr_this, mbr_that, ...).
>
>I guess it depends on what kind of SELECTs you most commonly write. In your case, prefixes would slow you down. In my case, using prefixes avoids aliasing in SELECTs.

In this case, the difference is the same :). IMO, SQL fields should be aliased one way or another because there's no sane way to format or tidy them, and this only if it's a join. In a single-table Select, I specifically don't do any aliasing (or use just a one-letter alias) - and you must keep your prefixes.

There are two kinds of lazy programmers...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform