You can use the sp_columns stored procedure:
exec sp_columns MyTable
More Related Contents:
- Calculate a Running Total in SQL Server
- How can I do an UPDATE statement with JOIN in SQL Server?
- Not equal != operator on NULL
- SET NOCOUNT ON usage
- How can I get column names from a table in SQL Server?
- How can I select the first day of a month in SQL?
- Subquery using Exists 1 or Exists *
- Most efficient T-SQL way to pad a varchar on the left to a certain length?
- Is it possible to specify condition in Count()?
- Update records in table from CTE
- how can I Update top 100 records in sql server
- @@IDENTITY, SCOPE_IDENTITY(), OUTPUT and other methods of retrieving last identity
- How can a LEFT OUTER JOIN return more records than exist in the left table?
- Count Number of Consecutive Occurrence of values in Table
- “select * from table” vs “select colA, colB, etc. from table” interesting behaviour in SQL Server 2005
- Pivot data in T-SQL
- Column name or number of supplied values does not match table definition
- Split one column value into multiple column values
- Get the records of last month in SQL server
- Merge overlapping date intervals
- I want to use CASE statement to update some records in sql server 2005
- Access to Result sets from within Stored procedures Transact-SQL SQL Server
- alternatives to REPLACE on a text or ntext datatype
- SQL poor stored procedure execution plan performance – parameter sniffing
- How to return a incremental group number per group in SQL
- SQL Server SELECT INTO @variable?
- WITH CHECK ADD CONSTRAINT followed by CHECK CONSTRAINT vs. ADD CONSTRAINT
- Select a column if other column is null
- Date serial in SQL?
- SQL Server: +(unary) operator on non-numeric Strings