Printing Table's structure/schema

前端 未结 5 1681
名媛妹妹
名媛妹妹 2020-12-28 16:44

I have like 20 or so tables in the database RentalEase and I want to print them out (physically) so I can look at them easier. I don\'t care too much about what data is in t

5条回答
  •  隐瞒了意图╮
    2020-12-28 17:26

    You can always inspect the INFORMATION_SCHEMA views to find all the interesting information about tables and their columns.

    It's not called "describe" per se - but this query will show you lots of information:

    select * from Information_schema.Columns
    where table_name = '(your table here)'
    

    Marc

提交回复
热议问题