C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » SQL Server »

String variable


Posted Date: 06 Nov 2009      Posted By: kannan      Member Level: Gold     Points: 1   Responses: 4




is it possible to take string variable from unknown table from the database,
unknown means any table from the same database ??

if it ok how to achieve??

regards
kannak.......





Responses

Author: Manick    06 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

string variable or any column name from the table?

If a column name means, you can simply write the following query..

select column_name from table_name

Note: If it is not correct, clarify your question again with more information..

Regards,
Manick



Author: Anil Kumar Pandey    06 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

if it is of that type you can get the details.

Thanks & Regards
Anil Kumar Pandey



Author: Nagarajan    06 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Use Join query like

select a.cloumnname from tablename a;

Regards
Naresh

Regards,

Naresh

Don't Scream for a Change... Become a Change..

Do not forget to Rate the post..



Author: Deepika Haridas    06 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Yes you can.



Thanks & Regards,
Deepika
Editor

If U want to shine like a SUN..First U have to burn like the SUN!!
Need a Guide? Join my mentor program..



Post Reply
You must Sign In to post a response.
Next : Error occured while attaching the database
Previous : Update Local to Remote DataBase?
Return to Discussion Forum
Post New Message
Category: SQL Server

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use