用于参考: SELECT 表名=case when a.colorder=1 then d.name else '' end, 表说明=case when a.colorder=1 then isnull(f.value,'') else '' end, 字段序号=a.colorder, 字段名=a.name, 主键=case when exists(SELECT 1 FROM
数字字典表 --查看当前用户下面有哪些张表 select * from user_tables; select table_name from user_tables; --查看当前用户下面有哪些视图 select * from user_views; select view_name from user_views; --查看当前用户下面有哪些约束 select * from user_constraints; select constraint_name from user_co
数字字典表 --查看当前用户下面有哪些张表 select * from user_tables; select table_name from user_tables; --查看当前用户下面有哪些视图 select * from user_views; select view_name from user_views; --查看当前用户下面有哪些约束 select * from user_constraints; select constraint_name from user_constrai