What is a query that will show me the full definition, including indexes and keys for a SQL Server table? I want a pure query - and know that SQL Studio can give this to me
Another way is to execute sp_columns procedure.
EXEC sys.sp_columns @TABLE_NAME = 'YourTableName'