Oracle的表结构查询

select * from all_tables WHERE table_name='STUDENT';

select * from all_tab_columns where owner='chipmunk' and table_name='STUDENT';

select column_name,comments from all_col_comments where owner ='chipmunk' and table_name 

='STUDENT';

select * from user_tab_comments;
select * from user_col_comments;
select * from dba_col_comments;
select * from all_col_comments;

猜你喜欢

转载自itace.iteye.com/blog/2319904