Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Selecting column types

Author  Topic 

Bjcascone
Starting Member

37 Posts

Posted - 2008-12-09 : 15:13:04
I am trying to get a list of column headers and the data type set for each particular column. if possible to get a list of the headers and next to each the data type ie: Varchar(75), Money ect... does anyone know of a way to do this with a simple select instead of colapsing the columns in the browser?

- Brian

hanbingl
Aged Yak Warrior

652 Posts

Posted - 2008-12-09 : 16:08:24
select * from information_schema.columns
Go to Top of Page
   

- Advertisement -