I have a SQL Server database and I want to know what columns and types it has. I\'d prefer to do this through a query rather than using a GUI like Enterprise Manager. Is the
Just in case you don't want to use stored proc, here's a simple query version
select * from information_schema.columns where table_name = 'aspnet_Membership' order by ordinal_position