I need a sql query that will return the names of the columns of a sql server table. So for example, my .NET application calls a stored procedure and passes in the name of the table. The stored procedure should return all of the column names of the table. I can create the stored procedure, I just don't know the sql which will be used to query information about the table. Namely the column names. Can someone help me out?