all groups > sql server (alternate) > october 2007 >
You're in the

sql server (alternate)

group:

Get Column Name


Get Column Name Eddie
10/11/2007 4:41:02 PM
sql server (alternate):
I'm running a PHP call to MS SQL to automatically look in sysbojects
and syscolumns to get each table name in realtime so I can make a list
and execute it. That part's fine. I'm having problems though getting
the name of the first column, so we can use that as the default sort.
Can anybody help? Thanks.
Re: Get Column Name MC
10/11/2007 8:59:53 PM
What do you mean by first column? You can use columnID = 1 if you want the
first column in a table, but shouldnt you use something like first column in
grid or something like that?

MC


[quoted text, click to view]

AddThis Social Bookmark Button