Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ambiguous column name
Message
General information
Forum:
Sybase
Category:
SQL Syntax
Miscellaneous
Thread ID:
01585695
Message ID:
01585805
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform