How can I describe all tables in the database through one statement?

前端 未结 8 1946
天命终不由人
天命终不由人 2021-01-31 08:01

Is there any statement that can describe all tables in a database?

Something like this:

describe * from myDB;
8条回答
  •  别那么骄傲
    2021-01-31 08:46

    because the other suggestions made very much mess on the screen or just did not do the trick here is a hack for a small db:

    describe table_a; describe table_b; describe table_c; 
    

    and so on

提交回复
热议问题