2013年4月2日
摘要: 一、oracle1、获取当前oracle数据库中的所有表select table_name from user_tables2、查询某个表中的字段名称、类型、精度、长度、是否为空select COLUMN_NAME,DATA_TYPE,DATA_PRECISION,DATA_SCALE,NULLABLE from user_tab_columns where table_name ='YourTableName' 3、查询某个表中的主键字段名select col.column_name from user_constraints con, user_cons_column... 阅读全文
posted @ 2013-04-02 10:23 Johnliu 阅读(344) 评论(0) 推荐(0)