How to describe table in SQL Server 2008?

前端 未结 8 1535
长情又很酷
长情又很酷 2020-12-24 05:33

I want to describe a table in SQL Server 2008 like what we can do with the DESC command in Oracle.

I have table [EX].[dbo].[EMP_MAST] which

8条回答
  •  别那么骄傲
    2020-12-24 05:48

    May be this can help:

    Use MyTest
    Go
    select * from information_schema.COLUMNS where TABLE_NAME='employee'
    

    { where: MyTest= DatabaseName Employee= TableName } --Optional conditions

提交回复
热议问题