> >> how can i pass Column name using parameter? <<
>
[quoted text clipped - 5 lines]
> Get a book on basic Software Engineering and read about coupling and
> cohesion before you do any more programming in any language.
Maybe they weren't responsible for the database design, but are being
asked query from it due to business requirements or maybe it's not a
critical application and it's was easier to load a flat file into
Access than to design a proper normalized database. Regardless, it's
a legitimate question (as are your concerns about unpredictable
results), but to assume that Raghu doesn't know basic Software
Engineering is rude.
Greg D. Moore (Strider) - 24 Oct 2007 12:37 GMT
>> >> how can i pass Column name using parameter? <<
>>
[quoted text clipped - 13 lines]
> results), but to assume that Raghu doesn't know basic Software
> Engineering is rude.
You know, Joe has written several books, SQL for Smarties comes to mind.
However, one book that I doubt he'll ever be asked to write is "Joe Celko's
Guide to Winning Friends and Influencing People."
:-)

Signature
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
Tony Rogerson - 28 Oct 2007 09:18 GMT
Or.... Practical SQL Solutions in the Real World.

Signature
Tony Rogerson, SQL Server MVP
http://sqlblogcasts.com/blogs/tonyrogerson
[Ramblings from the field from a SQL consultant]
http://sqlserverfaq.com
[UK SQL User Community]
>>> >> how can i pass Column name using parameter? <<
>>>
[quoted text clipped - 20 lines]
>
> :-)