Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ambiguous column name
Message
Information générale
Forum:
Sybase
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01585695
Message ID:
01585805
Vues:
18
>Thanks Hugo!
>
>there is no way at the sql server level to harmonize these cases and not having to change dozens of forms?

No that I know of. Take into account that the error message will appear only if you are using the column name in another SQL clause, it will work otherwise (in your example you could have kept the repeated column in the SELECT, but when you tried to ORDER BY is when you get the error) (Not sure if it is clear what I mean, but select DESC_PROF,CODI_PROF,DESC_PROF from PROF order by 1 works just fine
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform