954,560 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to fatch fields from table, is it posible to get array?

Hi,

I have database in mssql 2008.
In that, I want to fetch Column names from table in array.

Is it posible?

Please give me some suggestion.

Thanks in advance.

Jack

jackparsana
Junior Poster in Training
54 posts since Sep 2010
Reputation Points: 10
Solved Threads: 1
 

Yes, it's possible.

However, you don't give enough information to allow for suggestions. How are you accessing your table? Are you just writing a query in SSMS? Are you writing a program and using some sort of object library like ADO? Or a bound data control? Are you coding to an API like ODBC or OLEDB? Writing in C? And so on.

BitBlt
Master Poster
711 posts since Feb 2011
Reputation Points: 367
Solved Threads: 109
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: