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.