Returns column information for the specified objects that can be queried in the current environment. [1]
syntax
sp_columns [ @table_name = ] object
[ , [ @table_owner = ] owner ]
[ , [ @table_qualifier = ] qualifier ]
[ , [ @column_name = ] column ]
[ , [ @ODBCVer = ] ODBCVer ] example
exec sp_columns MyTable