For the various popular database systems, how do you list all the columns in a table?
For MS SQL Server:
select * from information_schema.columns where table_name = 'tableName'