sql statement to query table corresponding field types

desc MSTB_KEY; (MSTB_KEY database table name) - mysql and oracle database General

 

mysql database query field name, comment, field type

select column_name,column_comment,data_type from information_schema.columns where table_name='TSTB_ALLOCATION_CLAW_BACK_LOG'
 

Guess you like

Origin blog.csdn.net/LMAKE_nbsp/article/details/94657728