Describe table structure

前端 未结 13 2202
北恋
北恋 2020-12-23 15:37

Which query will give the table structure with column definitions in SQL?

相关标签:
13条回答
  • 2020-12-23 16:37
    select * from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME='<Table Name>'
    

    You can get details like column datatype and size by this query

    0 讨论(0)
提交回复
热议问题